NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Invoke-NcCli and "quota report" invalid operation

Luis_KawaZ750
988 Views

Hi everyone,
I receive the 405 error trying to launch the "quota report" command via the "invoke-NcCli".
Can anyone kindly give me a tip on how to resolve this if this has happened to them?
Thanks a lot everybody

 

$pippo =  Invoke-NcCli -Command "quota report" -Query '{"volume":"vol_name", "vserver": "vserver_name"}' | Select-Object -ExpandProperty Value
Invoke-NcCli : [405]: invalid operation

 

+ $pippo = Invoke-NcCli -Command "quota report" -Query '{"volume":"vol ...

+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (xxx.xxx.xxx.xxx:NcController) [Invoke-NcCli], Exception

    + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.System.InvokeNcCli

 

0 REPLIES 0
Public