Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Mount-NaVirtualDisk


NAME
Mount-NaVirtualDisk

SYNOPSIS
Mounts a VHD file on the local host.

SYNTAX
Mount-NaVirtualDisk [-FullName] <String> [-WhatIf] [-Confirm] [<CommonParame
ters>]


DESCRIPTION
Mounts a VHD file on the local host.

This cmdlet must be run with administrative privileges.


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

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

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
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
DataONTAP.HostUtilities.DiskDiscovery.DiskResource


NOTES


Category: host

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

C:\PS>Mount-NaVirtualDisk G:\VM1.vhd


Mount the VHD file 'G:\VM1.vhd' as a disk on the local host.


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



RELATED LINKS
New-NaVirtualDisk
Dismount-NaVirtualDisk
Get-NaHostDisk
Initialize-NaHostDisk







 Data ONTAP® PowerShell Toolkit