Get-WssMountVhd

Get-WssMountVhd

Gets a collection of VHDs from a backup set.

Sintaxis

Parameter Set: Default
Get-WssMountVhd [-BackupSet] <BackupSet> [ <CommonParameters>]

Descripción detallada

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.

Parámetros

-BackupSet<BackupSet>

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

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

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

    This cmdlet generates the Mount Vhd data.

Ejemplos

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

Temas relacionados

Select-WssMountVhd