I need to get a list of all users who have mobile devices. I tried using:
set-adserversettings -viewentireforest $true
Get-ActiveSyncDevice | select identity, devicetype, deviceos >c:\temp\mobile.csv
but it comes out where you cant read the identity. It is not coming out correctly. Does anyone have a good script to do this?
set-adserversettings -viewentireforest $true
Get-ActiveSyncDevice | select identity, devicetype, deviceos >c:\temp\mobile.csv
but it comes out where you cant read the identity. It is not coming out correctly. Does anyone have a good script to do this?