Tag Archives: if

Creating a PowerShell Function to display error messages

When writing your code using PowerShell, and based on the complexity of the script we need to create output to troubleshoot/debug the code. We can always write-host “xxx” and see…

Checking if a mailbox is valid using Exchange Management Shell

In some scenarios we need to check if a mailbox database is valid on Exchange Server, this kind of validation is useful when migrating/transitioning mailboxes. Solution In order to validate…