Get-WssBackupVolume

Get-WssBackupVolume

Gets backup volumes from a server, from a scheduled backup policy, or from existing backups.

構文

Parameter Set: AllVolumes
Get-WssBackupVolume [-AllVolumes] [ <CommonParameters>]

Parameter Set: CriticalVolumes
Get-WssBackupVolume [-CriticalVolumes] [ <CommonParameters>]

Parameter Set: FullVolumesOnBackupSet
Get-WssBackupVolume [-VolumeData] <ICollection<MountVhdData>> [ <CommonParameters>]

Parameter Set: Policy
Get-WssBackupVolume [-BackupPolicy] <ScheduledBackupPolicy> [ <CommonParameters>]

詳細説明

The Get-WssBackupVolume cmdlet gets backup volumes from a server, from a scheduled backup policy, or from an existing backup.

パラメーター

-AllVolumes

Indicates that the cmdlet gets all backup volumes from a server.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-BackupPolicy<ScheduledBackupPolicy>

Specifies a scheduled backup policy. The cmdlet gets all backup volumes from this scheduled backup policy.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-VolumeData<ICollection<MountVhdData>>

Specifies a virtual hard disk (VHD) from which to retrieve the volumes.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.string

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.WindowsServerSolutions.DataProtection.PCBackup.BackupUtil.WcfContracts.ClientVolumeInfo

    This cmdlet returns backup volumes.

Example 1: Get critical volumes from a backup

This command gets critical volumes from the server.

PS C:\> Get-WssBackupVolume -CriticalVolumes

関連トピック

Add-WssBackupVolume

Remove-WssBackupVolume