Hi,
I am trying to delete snapshot from powershell but it does not work for me.
I´m able to connect to my cluster, I can browse vols and snapshots, but follow command just does not work.
I enter my command and nothing happens. No promt or error.
Down below is my command where I try to delete snapshot "hourly.2019-09-26_0805"
Get-NcVol snapinfo | Get-NcSnapshot hourly.2019-09-26_0805 | Remove-NcSnapshot
I have tried to add -confirm:$false and it does not make any different.
I make snapshots with SMHV and it does not delete old snapshots, thats is why I have to remove them with a script.
Do I need to enable anything on the cluster to allow a script to delete snapshots?
I use Ontap 9.5 SP6 and latest powershell kit for 9.6
Br, Pelle Dahlkild
I enter m