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.

PowerShell Discussions

Powershell Toolkit - some cmdlets don't support REST

DS3Sharp
769 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