An account will enable you to access:
Don't have an account?
ONTAP Discussions
Hi All,
I need to find how to delete latest snapshot using Yaml script or Shell Script? Does anyone have the example script.
or it is possible to use script for cgsnapshot retention?
Regards,
Hudan
How about PowerShell?
Connect-NcController <controller hostname> Get-NcSnapshot <volume name> | Sort-Object -Property Created -Descending | Select -First 1 | Remove-NcSnapshot
Hi Donny, thanks for your respond, I need bash shell script or Yaml, if you know, please share
Eligible Customers and Partners have an opportunity to shape the future of NetApp’s products, support, and services! For a limited time, we’re growing the Insights to Action (I2A) online feedback community and celebrating with our Annual I2A Holiday Giveaway.