Select-WssMountVhd

Select-WssMountVhd

Selects a VHD from a backup set to mount for a file restore operation.

構文

Parameter Set: Default
Select-WssMountVhd [-BackupSet] <BackupSet> [-Vhd] <MountVhdData> [ <CommonParameters>]

詳細説明

The Select-WssMountVhd cmdlet selects a virtual hard drive (VHD) from a backup set to mount for a file restore operation. Each VHD represents a backup volume in the set.

パラメーター

-BackupSet<BackupSet>

Specifies the backup set from which to restore files.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByPropertyName)

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

false

-Vhd<MountVhdData>

Specifies the VHD to mount.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

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

True (ByPropertyName)

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

false

<CommonParameters>

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

入力

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

出力

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

  • Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.MountVhdData

    This cmdlet generates mount VHD data.

Example 1: Select a VHD for a restore operation

This command selects the backup set that is stored in the variable named $ContosoBU122412 from the VHD that is stored in the variable named $ContosoVHD122412.

PS C:\> Select-WssMountVhd -BackupSet $ContosoBU122412 -Vhd $ContosoVHD122412

関連トピック

Get-WssMountVhd