Hello,
Is it possible to assign an existing snapshot policy to a volume with Powershell Toolkit please?
Using PSTK 3.1 and cDOT 8.2.1.
PS E:\Scripts\bin> set-ncvoloption -Controller $TargetClusterCnt -VserverContext nas-dcwnd-wprd -name nasdcwndwprd_root -key "snapshot-policy" -value "none"
set-ncvoloption : Invalid value specified for "option-name" element within "volume-set-option": "snapshot-policy".
At line:1 char:1
+ set-ncvoloption -Controller $TargetClusterCnt -VserverContext nas-dcwnd-wprd -na ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (nas-dcwnd-cprd.san.cec.eu.int:NcController) [Set-NcVolOption], EINVAL
IDINPUTERROR
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.SetNcVolOption
Kind regards,
Michel