Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaQuota


NAME
Get-NaQuota

SYNOPSIS
Obtains a quota entry specified by type, target, volume, and tree.

SYNTAX
Get-NaQuota [-Type] <String> [-Target] <String[]> [-Volume] <String> [[-Qtre
e] <String>] [-Controller <NaController>] [-WarningAction <ActionPreference>
] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Obtains a quota entry specified by type, target, volume, and tree.


PARAMETERS
-Type <String>
The quota type: "user", "group", or "tree".

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

-Target <String[]>
This is the quota target of the type specified. The target can be of th
e form: <name>, <number>, or <path name>. Multiple targets can be speci
fied by a comma-separated list.

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

-Volume <String>
Name of the volume for the quota.

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

-Qtree <String>
This is the qtree name that the quota resides on. It can be the qtree n
ame or omitted if no qtree.

Required? false
Position? 4
Default value
Accept pipeline input? true (ByValue, 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
System.Collections.Hashtable


NOTES


Category: quota
API: quota-get-entry

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

C:\PS>Get-NaQuota tree * testvol


Get the tree quota on volume 'testvol'.


Name Value
---- -----
DiskLimitKB 1024
FileLimit -
PerformUserMapping False
ThresholdKB -
SoftDiskLimitKB -
SoftFileLimit -
QuotaError



RELATED LINKS
Get-NaQuotaEntry







 Data ONTAP® PowerShell Toolkit