Forum Discussion
Colin_McCrae
9 years agoCommunity Hero
Never done it myself ...
But I suspect you'll want to be making use of the tools VMware supply for doing this.
So either: https://code.vmware.com/web/dp/sdk/55/vsphere-cli
Or: https://communities.vmware.com/community/vmtn/automationtools/powercli
They also provide a Perl SDK, but I suspect that won't be what you're after.
PowerShell is likely to be the easiest option for a simple restore from snapshot. TestComplete is fine with running PowerShell scripts. See here: https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/running-powershell-scripts.html