2013-06-10 02:53 AM
I want to delete many snapshots with the same name on different volumes and filers.
My script works, but I have to Confirm each remove-Nasnapshot.
How can I disable the Confirmation?
The cmdlet i use in the inner loop is
"remove-NaSnapshot $volName $snapName"
Solved! See The Solution
2 REPLIES 2
Re: Howto delete a snapshot without confirmation?
2013-06-10 03:36 AM
thanks for your quick response.
This was exactly the parameter I was looking for!
(get-help remove-NaSnapshot was a little short on that parameter.)
My script runs now without interverntion!