Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Dismount-NcVirtualDisk


NAME
Dismount-NaVirtualDisk

SYNOPSIS
Dismounts a VHD file from the local host.

SYNTAX
Dismount-NaVirtualDisk [-FullName] <String> [<CommonParameters>]

Dismount-NaVirtualDisk [-Disk] <UInt32> [<CommonParameters>]


DESCRIPTION
Dismounts a VHD file from the local host.


PARAMETERS
-FullName <String>
The fully-qualified path of the VHD file to be dismounted.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Disk <UInt32>
The Windows disk index of the VHD file to be dismounted.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
System.IO.FileInfo


NOTES


Category: host

-------------- Example 1 --------------

C:\PS>Dismount-NaVirtualDisk 1


Dismount the VHD file that is mounted as Disk 1 on the local host.


Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 10/6/2011 4:10 PM 21474836992 VM1.vhd



RELATED LINKS
New-NaVirtualDisk
Mount-NaVirtualDisk







 Data ONTAP® PowerShell Toolkit