Tuesday, June 15, 2010

Powershell Tips

Tip #1: when you have Exchange Powershell installed on the workstation, you might need to load Exchange shell every time you want to run Exchange based command anyways:

add-pssnapin Microsoft.Exchange.Management.PowerShell.Admin

Tip #2: To get mailbox stats run: get-mailboxstatistics –server mailbox1w | Where-Object {$_.displayname –eq "John Smith"}

No comments:

Post a Comment