Examine existing samples in the pyvmomi community samples repository (e.g., list snapshots.py or destroy vm.py) to understand the pattern for connecting and performing operations. Use pyVmomi documentation to find methods like `DestroySnapshot Task` and how to retrieve a VM by UUID (using `searchIndex.FindByUuid`). Implement a script that takes VM UUID and snapshot name as inputs, iterates through snapshots, and calls the destroy method.