Skip to content

Montanhydraulik/Purge-MobileDevices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Exchange: Purge MobileDevices

This PowerShell script purge old Exchange ActiveSync devices from an Exchange server.

.\Purge-MobileDevices.ps1 -MinimumAge:90 -FixActiveDirectoryFlag:$false

Parameters

The script supports the following parameters:

MinimumAge

Sets the minimum age from the device. Default value is 60 days.

FixActiveDirectoryFlag

Fix the msExchMobileMailboxFlags property from a Active Directory user. Default value is $true.

I a user has no ActiveSync device partnerships anymore, it will set the AD property to 0.

About

PowerShell script to purge old Exchange ActiveSync devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published