Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Mount-NaController


NAME
Mount-NaController

SYNOPSIS
Mount an NaController object as a PSDrive using the DataONTAP PowerShell Pro
vider.

SYNTAX
Mount-NaController [[-Name] <String>] [[-Root] <String>] [-Scope <String>] [
-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Mount an NaController object as a PSDrive using the DataONTAP PowerShell Pro
vider.


PARAMETERS
-Name <String>
The name of the PSDrive to create. If not specified, the controller nam
e is used.

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

-Root <String>
The root of the new PSDrive in the DataONTAP Provider namespace. The de
fault value is "/".

Required? false
Position? 2
Default value /
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Scope <String>
Specifies a scope for the drive. Valid values are "Global", "Local", or
"Script", or a number relative to the current scope (0 through the numbe
r of scopes, where 0 is the current scope and 1 is its parent). "Local"
is the default. For more information, see about_Scopes.

Required? false
Position? named
Default value Local
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
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
System.Management.Automation.PSDriveInfo


NOTES


Category: toolkit

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

C:\PS>Connect-NaController dunn
Mount-NaController
cd dunn:


Establish a connection to the controller 'dunn', mount a new PSDrive at the
controller root, and change the current working directory to the new drive.


Used :
Free :
Controller : NetApp.Ontapi.Filer.NaController
EtcPath : /vol/vol0/etc
CurrentLocation :
Name : dunn
Provider : DataONTAP
Root : /
Description : PSDrive for DataONTAP controller dunn
Credential : System.Management.Automation.PSCredential

PS dunn:\>



RELATED LINKS
Dismount-NaController







 Data ONTAP® PowerShell Toolkit