|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaQuota
NAME
Remove-NaQuota
SYNOPSIS
Deletes a quota entry specified by type, target, volume, and tree.
SYNTAX
Remove-NaQuota [-Type] <String> [-Target] <String[]> [-Volume] <String> [[-Q
tree] <String>] [-Controller <NaController>] [-WarningAction <ActionPreferen
ce>] [-WarningVariable <String>] [<CommonParameters>]
DESCRIPTION
Deletes a quota entry specified by type, target, volume, and tree.
PARAMETERS
-Type <String>
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
NOTES
Category: quota
API: quota-delete-entry
-------------- Example 1 --------------
C:\PS>Remove-NaQuota tree /vol/testvol/testq testvol testq
Remove a quota.
-------------- Example 2 --------------
C:\PS>Get-NaQuotaEntry | Remove-NaQuota
Remove all quotas.
RELATED LINKS
Add-NaQuota
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|