List of users without Mobile device

I would like to export a list of users that have no mobile device associate in Exchange online.

using Powershell

Get-MobileDevice | export-csv test.csv

I am able to get a list of everyone who HAS a mobile device, but I would like the opposite effect.  We have  a company policy that requires email synced to mobile and this info will hep me perform an audit of employees.

Thanks!

September 3rd, 2015 5:51pm

Hi,

Try this:

Get-CASMailbox -Filter {hasactivesyncdevicepartnership -eq $false -and -not displayname -like "CAS_{*"} | Get-Mailbox

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 10:15pm

Worked perfectly!

Thanks

Patrick

September 4th, 2015 12:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics