Using -whatif in the Exchange Management ShellThe 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. |