I am working on some automation using powershell and the powershell toolkit. After creating a qtree and then its share, I am trying to set the 'ShareProperties' parameter, "browsable", which correlates to the checkbox in the UI for "allow client access to snapshot copies directory". It fails saying, "ShareProperties parameter specified, which is not supported for REST call". I have tried it with Set-NcCifsShare and Add-NcCifsShare. I am running the powershell module for NetApp.ONTAP Version: 9.16.1.2501 in PowerShell 7.5.1. An example of the script. If I take out the shareproperties piece, it works perfectly. Set-NcCifsShare -Name $shareName -SymlinkProperties enable -AccessBasedEnumeration $true -ShareProperties "browsable" -VserverContext $storageVM Is there any way to set that option via PowerShell?
... View more
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?
... View more
Looking for some help with NetApp.Reports. mac_linux_RunDataCollector.sh mac_linux_RunUpdater.sh My Mac is behind a proxy. How do I configure it so powershell utilizes the proxy to establish the connection to my NetApp Clusters. Access to the clusters all works fine through my proxied browser. V/r, -Nathan Zingg
... View more