Quick Tip: NetApp DataOnTap Powershell Toolkit + cDot Snapshots

Just had someone ask me how they can delete all snapshots on a volume in cdot without being prompted for each snapshot to authorize it. (Shoutz to Tonyz for asking this on IRC)

I told them powershell.  Here’s a quick illustration of how to do it.

(Go here and update or install the latest version of the toolkit. http://mysupport.netapp.com/NOW/download/tools/powershell_toolkit/ )

Notice: See how “Na” has been replaced with “Nc” on many of these?

The toolkit lacks a -confirm/-confirm:$false or a -force flag so you will be prompted once, but it is better than a prompt for each snap.

Hope this helps someone out.

Be Sociable, Share!

, ,

Comments are closed.