Get-WssBackupTarget
Retrieves all backup targets from a scheduled backup policy.
Syntax
Get-WssBackupTarget
[-BackupPolicy] <ScheduledBackupPolicy>
[<CommonParameters>]
Description
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.
Examples
Example 1: Get all backup targets from a scheduled backup policy
PS C:\> Get-WssBackupTarget -BackupPolicy $ContosoBUPolicy213
This command gets all backup targets from the backup policy that is stored in the variable named $ContosoBUPolicy213.
Parameters
-BackupPolicy
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 |
Outputs
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupTarget
This cmdlet returns a list of backup targets.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for