|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaQtree
NAME
Get-NaQtree
SYNOPSIS
Returns a list of qtrees.
SYNTAX
Get-NaQtree [[-VolumeName] <String>] [[-QtreeName] <String>] [-Controller <N
aController>] [-WarningAction <ActionPreference>] [-WarningVariable <String>
] [<CommonParameters>]
DESCRIPTION
Returns a list of qtrees.
PARAMETERS
-VolumeName <String>
Name of the volume to be queried. Wildcards are supported. Optionally,
this parameter may also take the form /vol/<volume>/<qtree>; omit the Q
treeName parameter if using this form.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-QtreeName <String>
Name of the qtree to be queried. Wildcards are supported.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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
NetApp.Ontapi.Filer.Qtree.QtreeInfo
NOTES
Category: qtree
API: qtree-list, qtree-list-iter-start, qtree-list-iter-next, qtree-list
-iter-end
-------------- Example 1 --------------
C:\PS>Get-NaQtree
Get all qtrees.
Id : 0
Oplocks : enabled
Qtree :
SecurityStyle : ntfs
Status : normal
Volume : vol2
Id : 0
Oplocks : enabled
Qtree :
SecurityStyle : ntfs
Status : normal
Volume : vol4
-------------- Example 2 --------------
C:\PS>Get-NaQtree vol2 *test*
Get all qtrees in volume 'vol2' with 'test' in the qtree name. This is equi
valent to 'Get-NaQtree /vol/vol2/*test*'.
Id : 2
Oplocks : enabled
Qtree : testq
SecurityStyle : ntfs
Status : normal
Volume : vol2
RELATED LINKS
New-NaQtree
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|