Removing backups using PowerShell cmdlets

You can use the Remove-SmBackup cmdlet to delete Exchange backups if you no longer require them for other data protection operations.

Before you begin

You must have prepared the PowerShell environment to execute the PowerShell cmdlets.

About this task

For information about PowerShell cmdlets, use the SnapCenter cmdlet help or see the cmdlet reference information.

Steps

  1. Initiate a connection session with the SnapCenter Server for a specified user by using the Open-SmConnection cmdlet.
    Example
    Open-SmConnection  -SMSbaseurl  https:\\snapctr.demo.netapp.com:8146/
    
  2. Delete one or more backup using the Remove-SmBackup cmdlet.
    Example
    This example deletes two backups using their backup IDs:
    Remove-SmBackup -BackupIds 3,4
    Remove-SmBackup
    Are you sure want to remove the backup(s).
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):