# # get your volumes, check the snapshot policy $v = Get-NcVol "vol_CIFSM" -Vserver "vsdata5" $v.VolumeSnapshotAttributes | select AutoSnapshotsEnabled,SnapshotPolicy # # set the query for the volumes you want to change $q = Get-NcVol -Template Initialize-NcObjectProperty $q VolumeIdAttributes $q.VolumeIdAttributes.Name = "vol_CIFSM" $q.VolumeIdAttributes.OwningVserverName = "vsdata5" # # set the attributes that you want to change $a = Get-NcVol -Template Initialize-NcObjectProperty $a VolumeSnapshotAttributes $a.VolumeSnapshotAttributes.SnapshotPolicy = "none" # # update the volume(s) Update-NcVol -Query $q -Attributes $a # # get the vols again, and check the attributes have changed $v2 = Get-NcVol "vol_CIFSM" -Vserver vsdata5 $v2.VolumeSnapshotAttributes | select AutoSnapshotsEnabled,SnapshotPolicy