PowerShell Discussions

Powershell Toolkit - some cmdlets don't support REST

DS3Sharp
85 Views

I am using Netapp.Ontap module  version 9.16.1.2501.

I would like to collection fractional reserve settings for volumes.

 

When ontapi is disabled, the Get-NcVolOption fails.

PS X:\SCRIPTS> Get-NcVol | Get-NcVolOption | ?{ $_.Name -eq "fractional_reserve" }
Get-NcVolOption: API invoke failed:The remote server returned an error: (404) Not Found.

 

When ontapi is enabled, the cmdlet works.

vserver services web modify -vserver [CLUSTER]-name ontapi -enabled true

 

My question is: are some cmdlets in the powershell toolkit not compatible with REST? and if so, is there a list?

 

 

0 REPLIES 0
Public