Get-WssMountVhd
Get-WssMountVhd
Gets a collection of VHDs from a backup set.
構文
Parameter Set: Default
Get-WssMountVhd [-BackupSet] <BackupSet> [ <CommonParameters>]
詳細説明
The Get-WssMountVhd cmdlet gets a collection of virtual hard drives (VHDs) from a backup set. Each VHD represents a backup volume in the set.
パラメーター
-BackupSet<BackupSet>
Specifies the backup set from which to get the collection of VHDs.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
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 the Mount Vhd data.
例
Example 1: Get VHDs from a backup set
This example gets the VHD collection from the backup set that is stored in the variable named $ContosoBUSet25 and stores the collection in the variable named $ContosoBUSet25VHD.
PS C:\> $ContosoBUSet25VHD = Get-WssMountVhd -BackupSet $ContosoBUSet25