Get-WssBackupTarget
Retrieves all backup targets from a scheduled backup policy.
Get-WssBackupTarget
[-BackupPolicy] <ScheduledBackupPolicy>
[<CommonParameters>]
The Get-WssBackupTarget cmdlet retrieves all backup targets from a scheduled backup policy. A scheduled backup policy is a backup file specification that has a backup schedule associated with it.
PS C:\> Get-WssBackupTarget -BackupPolicy $ContosoBUPolicy213
This command gets all backup targets from the backup policy that is stored in the variable named $ContosoBUPolicy213.
Specifies the scheduled backup policy from which to retrieve the backup target.
Type: | ScheduledBackupPolicy |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupTarget
This cmdlet returns a list of backup targets.