CmdID / PowerShell / Cmdlets / Remove
Remove-WBBackupSet
Removes backups from a target catalog, a system catalog, or both. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-BackupSetSpecifies an array of backup set objects that determine which backup or which backup sets that this cmdlet removes.-BackupTargetSpecifies a backup target object that indicates the storage location with the backups that you want to remove.-CredentialSpecifies a PSCredential object that contains the username and password for a user account that has access permissions for the location that stores backups.-DeleteOldestIndicates that the cmdlet removes the oldest backup in the set.-ForceForces the command to run without asking for user confirmation.-KeepVersionsSpecifies the number of the most recent backups to keep on the backup target.-MachineNameSpecifies the name of the computer for which this cmdlet removes backups.-NetworkPathSpecifies the path to the remote shared folder from which the cmdlet removes backups.-NonInheritAclDo not use.-VolumePathSpecifies the drive letter of the volume where the cmdlet stores backups.