Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IOS Devices

Status
Not open for further replies.

intel233

MIS
Feb 24, 2007
289
0
0
US
Does anyone have a script that will list out the users and the Apple IOS version they have?
 
When iOS 6.1 caused problems with ActiveSync I used this article [URL unfurl="true"]http://exchangeserverpro.com/block-ios-61-exchange-2010/[/url]

The Exchange Management Shell command to find all iOS 6.1 devices is:
Code:
C:\>Get-ActiveSyncDevice | where {$_.deviceos -match "iOS 6.1"} | select devicetype,deviceos,deviceuseragent

So you should be able to just change it to:
Code:
C:\>Get-ActiveSyncDevice | where {$_.deviceos -match "iOS"} | select devicetype,deviceos,deviceuseragent
to give you all iOS devices and exact versions. I've just tried it and can confirm that it does.

Making it just:
Code:
C:\>Get-ActiveSyncDevice | where {$_.deviceos -match "iOS"}
gives you all information.

Making it:
Code:
C:\>Get-ActiveSyncDevice | where {$_.deviceos -match "iOS"} | select devicetype,deviceos,deviceuseragent,userdisplayname
gives you the user associated with the device. Unfortunately it's the full DN eg domain.local/COMPANYNAME/USERS/ as Exchange doesn't have a field for just the CN.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top