Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

PowerProtect Data Manager 19.11 Microsoft Exchange Server User Guide

Formatting the list of backups

If the BackupDatabases column values are truncated and include dots at the end, you can increase the windows and buffer length in the Microsoft Exchange Server management shell.

In addition to increasing the length, you can use the following commands to better format the output and filter the output:

  • To display the full output:

    Get-ExchangeBackup | format-table -AutoSize
  • To list only the backups that contain a specific database:

    $list = Get-ExchangeBackup | format-table -AutoSize
    
    $list = foreach($obj in $list) {
    foreach($bkup in $obj.BackupDatabases){
    if($bkup.Identity -EQ "DatabaseName"){
    Write-Output $obj
    }
    }
    }
  • To list the backups that occurred on a specific date:

    $list | where BackupDateTimeUTC -CMatch "6/14/2020"

To perform various types of comparisons, you can use the following flags:

  • "CGE"—Greater than or equal to a specific value.
  • "CGT"—Greater than a specific value.
  • "CLE"—Less than or equal to a specific value.
  • "CLT"—Less than a specific value.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\