Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcVolContainer


NAME
Get-NcVolContainer

SYNOPSIS
Return the name of the containing aggregate for the named flexible volume.

SYNTAX
Get-NcVolContainer [[-Name] <String>] [-Controller <NcController[]>] [<Commo
nParameters>]


DESCRIPTION
Return the name of the containing aggregate for the named flexible volume.


PARAMETERS
-Name <String>
The name of a volume to query.

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

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
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
DataONTAP.C.PowerShell.SDK.Cmdlets.Str


NOTES


Category: volume
API: volume-get-iter
Family: cluster, vserver

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

C:\PS>Get-NcVolContainer vserver1vol0


Get the name of the aggregate containing volume 'vserver1vol0'.


NcController Value
------------ -----
10.61.172.155 aggr1



RELATED LINKS
Get-NcVol







 Data ONTAP® PowerShell Toolkit