Output formats
Learn about the various output formats available for Windows PowerShell cmdlets for backup operations.
Table Format
The default format of the EMCExchangeBackupRestore.BackupData.ExchangeBackup object is a table, which contains the BackupDateTimeUTC, BackupID, ClientName, Successful, and BackupDatabases columns.
Consider the following example:
Table format output from the Get-ExchangeBackup cmdlet
$serverinfo | Get-ExchangeBackup -BackupViaBlockBasedBackup
BackupDate TimeUTC BackupID ClientName Successful BackupDatabases
---------- ------- -------- ---------- ---------- ---------------
3/14/2016 4:38:54 PM 1457973534 exchangehost.myorg.com True {TestDB, Mailbox Database 1250665181}
List format
The list format displays all attributes with the backup date and time according to the local time zone, except the static image information.
Use the
Format-List parameter to enable the list format output.
Consider the following example:
Table format output from the Get-ExchangeBackup cmdlet
$serverinfo | Get-ExchangeBackup -BackupViaBlockBasedBackup | Format-List
ExchangeVersion : 2013
BackupDateTimeUTC : 10/20/2016 4:37:16 PM
BackupDatabases : {183c4310-6910-4c0f-bf8c-d152560035d9, 82da2fb5-866e-4b26-a360-0f15ddfec475, 6efb90ca-279e-4e52-9784-e0861ec5c362}
Level : full
BackupID : msapp_bbb:1476981436
Successful : True
ClientName : ledmf175.msapp.com
DataDomainHost : ledmd035.lss.example.com
DataDomainHostPath : /SU_DD163
RecoverPointHost :
Bookmarks : {}
Wide format
The wide format displays only the BackupDateTimeUTC attribute.
Use the
Format-Wide parameter to enable the wide format output.
Consider the following example:
Wide format output from the Get-ExchangeBackup cmdlet
$serverinfo | Get-ExchangeBackup -Before (Get-Date).AddDays(-5) -Limit 3 | Format-Wide
6/10/2016 12:45:18 PM 6/10/2016 12:43:36 PM 6/3/2016 3:39:53 PM