Hello,
I have a problem with the new versions of the NetApp PowerShell resource kit.
ONTAP : 9.11 and more
Toolkit 9.10 and more,
I had a procedure that allowed me to change the snapshot retention policy of an SVM:
ForEach ($GetSVMPolicy in Get-NcVserver -name $SVM | Get-NcSnapshotPolicy -Name p.* | Select-Object Policy)
{
Get-NcVserver -name $SVM | Set-NcSnapshotPolicySchedule -Name $GetSVMPolicy.Policy -Schedule daily -Count 20
}
The first line retrieves the SVM policy snapshots and the other modifies them.
Have you ever had this problem? do you have an idea ?
THANKS