Get-WssMountVhd

Gets a collection of VHDs from a backup set.

Syntax

Get-WssMountVhd
   [-BackupSet] <BackupSet>

Description

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.

Examples

Example 1: Get VHDs from a backup set

PS C:\> $ContosoBUSet25VHD = Get-WssMountVhd -BackupSet $ContosoBUSet25

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.

Parameters

-BackupSet

Specifies the backup set from which to get the collection of VHDs.

Type:BackupSet
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False