rneloms
Contributor
Contributor

Help figuring out flaw in a Snapshot removal script using an input file

I would like to create a script that will make use of an input file that has the virtual machine names containing snapshots with a common name. I used some of the logic in the script to create the snapshots and I am trying to reverse engineer to delete them now. I have attached the delete script, the input file, and the create script. The create script works fines using the input file but I know my logic in the delete is flawed. Please let me know if you can see were the corrections is needed

Tags (3)
Reply
0 Kudos