Dismount-IscsiVirtualDiskSnapshot

Dismount-IscsiVirtualDiskSnapshot

Dismounts the snapshot.

Sintaxis

Parameter Set: SnapshotId
Dismount-IscsiVirtualDiskSnapshot [-SnapshotId] <String> [-ComputerName <String> ] [-Credential <PSCredential> ] [ <CommonParameters>]

Parameter Set: InputObject
Dismount-IscsiVirtualDiskSnapshot -InputObject <IscsiVirtualDiskSnapshot> [-ComputerName <String> ] [-Credential <PSCredential> ] [ <CommonParameters>]

Descripción detallada

Note: This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet.

The Dismount-IscsiVirtualDiskSnapshot cmdlet dismounts the snapshot. The snapshot will not be accessible after dismount. This cmdlet operates on snapshots in the virtual disk 1.0 (VHD) format only.

Parámetros

-ComputerName<String>

Specifies the computer name, or IP address, of the remote computer, if this cmdlet is run on a remote computer.
Specifies the cluster resource group network name, or cluster node name, if this cmdlet is run on a cluster configuration.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-Credential<PSCredential>

Specifies the credentials when connecting to a remote computer.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-InputObject<IscsiVirtualDiskSnapshot>

Accepts an iSCSI virtual disk snapshot object from the input pipeline.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-SnapshotId<String>

Specifies the identifier (ID) for the snapshot.

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.

  • Microsoft.Iscsi.Target.Commands.IscsiVirtualDiskSnapshot

Salidas

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

  • None

Ejemplos

Example 1

This example gets all of the snapshot and dismounts them.

PS C:\> Get-IscsiVirtualDiskSnasphot | Dismount-IscsiVirtualDiskSnasphot

Temas relacionados

Export-IscsiVirtualDiskSnapshot

Get-IscsiVirtualDiskSnapshot

Mount-IscsiVirtualDiskSnapshot

Remove-IscsiVirtualDiskSnapshot

Set-IscsiVirtualDiskSnapshot