Do you know how sometimes you write a script and the output looks lovely, but for some stupid reason a yellow warning message ruins it.
Well my school day learning from today is that you can turn them off!
So lets say I run this
[PS] C:\PS>get-mailboxdatabase -server [Server]
Name Server StorageGroup Recovery---- ------ ------------ --------SG2DB2 [Server] SG2 FalseWARNING: Object [Server]\SG2\SG2DB2 has been corrupted and it is in aninconsistent state. The following validation errors have occurred:WARNING: Exchange cannot store database (.edb) files in the root directory.Please choose another location. The specified file path is 'J:\SG2DB2.edb'.SG2DB1 [Server] SG2 FalseWARNING: Object [Server]\SG2\SG2DB1 has been corrupted and it is in aninconsistent state. The following validation errors have occurred:WARNING: Exchange cannot store database (.edb) files in the root directory.Please choose another location. The specified file path is 'J:\SG2DB1.edb'.SG1DB1 [Server] SG1 FalseWARNING: Object [Server]\SG1\SG1DB1 has been corrupted and it is in aninconsistent state. The following validation errors have occurred:WARNING: Exchange cannot store database (.edb) files in the root directory.Please choose another location. The specified file path is 'G:\SG1DB1.edb'.SG1DB2 [Server] SG1 FalseWARNING: Object [Server]\SG1\SG1DB2 has been corrupted and it is in aninconsistent state. The following validation errors have occurred:WARNING: Exchange cannot store database (.edb) files in the root directory.Please choose another location. The specified file path is 'G:\SG1DB2.edb'.SG1DB3 [Server] SG1 FalseWARNING: Object [Server]\SG1\SG1DB3 has been corrupted and it is in aninconsistent state. The following validation errors have occurred:WARNING: Exchange cannot store database (.edb) files in the root directory.Please choose another location. The specified file path is 'G:\SG1DB3.edb'.
Name Server StorageGroup Recovery---- ------ ------------ --------SG2DB2 [Server] SG2 FalseSG2DB1 [Server] SG2 FalseSG1DB1 [Server] SG1 FalseSG1DB2 [Server] SG1 FalseSG1DB3 [Server] SG1 False
How Microsoft Office Communicator enhances Outlook 2007 functionality Why boot an Exchange server from