July 2017
Intermediate to advanced
648 pages
31h 9m
English
When running the Get-MailboxDatabase cmdlet, we can use the -Status switch parameter to receive additional information about the database, such as the mount status, the backup status, and the total size of the database, as shown in the previous example. To generate a report with this information, simply pipe the command to the Export-CSV cmdlet and specify the path and filename, as shown:
Get-MailboxDatabase -Status |
select-object Name,Server,DatabaseSize,Mounted |
Export-CSV -Path c:\databasereport.csv -NoTypeInformation
This time, we have added the server name that the database is currently associated with and the mount status for that database.
Read now
Unlock full access