|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Enable-NaVolQuota
NAME
Enable-NaVolQuota
SYNOPSIS
Starts to turn quotas on for a volume.
SYNTAX
Enable-NaVolQuota [-Volume] <String> [-Controller <NaController>] [-WarningA
ction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
DESCRIPTION
Starts to turn quotas on for a volume. A successful return from this API doe
s not mean that quotas are on, merely that an attempt to start it has been t
riggered. Use the Get-NaVolQuotaStatus to check the status.
PARAMETERS
-Volume <String>
Name of the volume on which to enable quotas.
Required? true
Position? 1
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
NetApp.Ontapi.Filer.Volume.VolumeInfo
NOTES
Category: quota
API: quota-on
-------------- Example 1 --------------
C:\PS>Enable-NaVolQuota vol0 | Get-NaVolQuotaStatus
Enable quotas on volume 'vol0' and show the new status.
Name Value
---- -----
PercentComplete 0
Substatus etc scanning
Status initializing
QuotaErrors
Reason
RELATED LINKS
Disable-NaVolQuota
Get-NaVolQuotaStatus
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|