|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcQuotaStatus
NAME
Get-NcQuotaStatus
SYNOPSIS
Get quota status for all volumes in the cluster.
SYNTAX
Get-NcQuotaStatus [[-Volume] <String[]>] [-Vserver <String[]>] [-Attributes
<QuotaStatusAttributes>] [-VserverContext <String>] [-Controller <NcControll
er[]>] [<CommonParameters>]
Get-NcQuotaStatus [[-Volume] <String[]>] -Template [-VserverContext <String>
] [-Controller <NcController[]>] [<CommonParameters>]
Get-NcQuotaStatus [[-Volume] <String[]>] -Query <QuotaStatusAttributes> [-At
tributes <QuotaStatusAttributes>] [-VserverContext <String>] [-Controller <N
cController[]>] [<CommonParameters>]
DESCRIPTION
Get quota status for all volumes in the cluster.
PARAMETERS
-Volume <String[]>
Name of the volume. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Restrict results to the specified vserver(s). Data ONTAP wildcards are
permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <QuotaStatusAttributes>
For improved scalability in large clusters, provide a QuotaStatusAttribu
tes object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcQ
uotaStatus -Template" to get the initially empty QuotaStatusAttributes o
bject. If not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
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
-Template
Specify to get an empty QuotaStatusAttributes object for use with advanc
ed queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <QuotaStatusAttributes>
For advanced queries, provide a QuotaStatusAttributes object with variou
s fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcQuotaStatus -Template" to get the initi
ally empty QuotaStatusAttributes object.
Required? true
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.C.Types.Quota.QuotaStatusAttributes
NOTES
Category: quota
API: quota-status-iter
Family: vserver, cluster
-------------- Example 1 --------------
C:\PS>Get-NcQuotaStatus
Get quota status for all of the volumes in the cluster.
Volume Status Substatus QuotaErrorMsgs
Vserver
------ ------ --------- --------------
-------
costea01_root_vol off none
costea01
grupoMode off none
costea01
pp_ds off none
costea01
ppds_nfs off none
costea01
unitTestLuns off none
costea01
vol1 off none
costea01
costea02_root_vol off none
costea02
snapMirrorSourceTest off none
costea02
beamvol1 off none
dlamotta01
beamvol2 on none
dlamotta01
dlamotta01_root_vol off none
dlamotta01
dlamotta02_root_vol off none
dlamotta02
-------------- Example 2 --------------
C:\PS>$q = Get-NcQuotaStatus -Template
$q.Status = "on"
Get-NcQuotaStatus -Query $q
Get all of the volumes that have quotas enabled.
Volume Status Substatus QuotaErrorMsgs
Vserver
------ ------ --------- --------------
-------
beamvol2 on none
dlamotta01
RELATED LINKS
Get-NcQuota
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|