This can be used to find/delete one email or thousands of emails. Again, the below came in handy to zap away the offending emails. Using Search-Mailbox to search emails Introducing… the Search-Mailbox cmdlet. This can search for specified criteria and will copy the results to a destination mailbox. First off though, we have to tell Search-Mailbox which […]
EMS 2010 commands: Get-DistributionGroup –ID “DistributionGroupName” | Set-DistributionGroup –ForceUpdate To “upgrade” all Distribution Groups within an Organization, the following command will do the trick: Get-DistributionGroup –ResultSize Unlimited | Set-DistributionGroup –ForceUpdate I have heard heard reports of substituting -ForceUpdate for -ForceUpgrade working as well.
Using a machine without Exchange Management Tools Requirements: – Powershell 2.0 – Access to your Exchange Server Launch Powershell and run: