The Exchange 2007 Wiki

Using -whatif in the Exchange Management Shell

The parameter -whatif is really useful on commands, so its been enabled it across the board for all non-get tasks. That means you can find out what will happen before you run a command:

Get-MailboxServer *DF* | set-MailboxServer -ManagedEmailSchedule $sched -whatif

It is specially useful in combination with wildcards as it shows you what entries match a wildcard. Use it to your benefit when testing commands or just to see what commands do without really doing anything dangerous with your system.

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 8/9/06 2:26 AM