Microsoft Virtualization Discussions

Invoke-NcCli and "quota report" invalid operation

Luis_KawaZ750
312 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