Storage is running ONTAP 9.14.1, and Powershell toolkit is 9.16.1.2501.
I'm trying to use the ONTAP Powershell toolkit on storage that's connected to AD to set up user quotas.
Powershell entered a command to generate a user quota and got an error message
PS > $Volume = 'userdata_test'
PS > $UserID = '1653409'
PS > $VServer = ‘svm1_main'
PS > New-NcQuota -Volume $Volume -Qtree "" -QuotaTarget $UserID -QuotaType User -DiskLimit 5GB -VserverContext $VServer
New-NcQuota : The term 'New-NcQuota' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
+ New-NcQuota -Volume $Volume -Qtree "" -QuotaTarget ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFoundL(New-NcQuota:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What command should I use to create userquota using Powershell toolkit?
Thanks&Regards,
Geum