Set-NcQuota accepts a Disklimit in bytes.
Get-NcQuota returns Disklimit in kilobytes.
This is confusing and difficult when used in scripts.
I think this is a bug.
Toolkit version = 4.5
Cluster Ontap Version: NetApp Release 9.1P3
To reproduce:
Set-NcQuota -User 'domain\user' -volume testvolume - disklimit 3500MB -vservercontext VS0
(Get-NcQuota -Type User -Target 'domain\user' -volume testvolume -vservercontext VS0).Disklimit / 1MB
I'm transforming a 7-Mode script to Cluster-Mode.
Get-NaQuota & Set-NaQuota work as expected.