Wednesday, December 11, 2013

Remove Proxyaddress–PowerShell Script

This PowerShell Script to remove SMTP address from proxyAddresses attribute.

 

image

You can change the email address patter by modifying the string in  {$_.AddressString -like '*@test.com'} section.

I am using Get-Mailbox and Set-Mailbox cmdlets. So make sure to import the Exchange PowerShell module before executing this script (or update the script with Import-Module cmdlet).

0 comments:

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More