Get-WssBackupVolume
Gets backup volumes from a server, from a scheduled backup policy, or from existing backups.
Syntax
Get-WssBackupVolume
[-AllVolumes]
Get-WssBackupVolume
[-BackupPolicy] <ScheduledBackupPolicy>
Get-WssBackupVolume
[-CriticalVolumes]
Get-WssBackupVolume
[-VolumeData] <ICollection<MountVhdData>>
Description
The Get-WssBackupVolume cmdlet gets backup volumes from a server, from a scheduled backup policy, or from an existing backup.
Examples
Example 1: Get critical volumes from a backup
PS C:\> Get-WssBackupVolume -CriticalVolumes
This command gets critical volumes from the server.
Parameters
-AllVolumes
Indicates that the cmdlet gets all backup volumes from a server.
Type: | SwitchParameter |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BackupPolicy
Specifies a scheduled backup policy. The cmdlet gets all backup volumes from this scheduled backup policy.
Type: | ScheduledBackupPolicy |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-CriticalVolumes
Indicates that the cmdlet gets all critical volumes from a server. Critical volumes include the operating system volume and the Active Directory (AD) volume.
Type: | SwitchParameter |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeData
Specifies a virtual hard disk (VHD) from which to retrieve the volumes.
Type: | ICollection<MountVhdData> |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
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