Microsoft Virtualization Discussions

Powershell Toolkit get-ncqospolicy unable to find API

Erik_gruetter
1,350 Views

Hey there guys

When trying to run get-ncqospolicy, I get the following message:

get-ncqospolicy
get-ncqospolicy : Unable to find API: qos-policy-get-iter
At line:1 char:1
+ get-ncqospolicy
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (XXX:NcController) [Get-NcQosPolicy], EAPINOTFOUND
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Qos.GeNcQosPolicy

 

Help would be greatly appreciated. Ontap Version is 9.10.1P8 & Powershell Toolkit version 9.11.1.2208 

Regards

Erik

1 REPLY 1

edannen
875 Views

Hello,

 

Was there ever a solution for this? Having same error however with Get-NcQuota cmdlet:

 

Get-NcQuota : success
At line:1 char:20
+ ((Get-NcQuota -Volume $vol.vol) | where-object {$_.Q ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (xx-xxxx:NcController) [Get-NcQuota], EAPIERROR
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Quota.GetNcQuota

 

This only started with OnTAP upgrade to 9.12.1 and PS update to 9.12.1.

 

Thanks!  

Public