Hi all,
Inside all my VMs I have a script c:\foo.bat.
I want to run this script just once after the VM comes up during a SRM initiated DR test or a DR event.
What is the most elegant way to achieve this? Looking for specifics...
Regards
alfar
Then you can use VMware PowerCLI to do that.
This is cmdlet called Invoke-VMScript. It can be used to run exe, batch file or powershell script inside VM. It doesn't require network connectivity, since it uses VMtools to run the script.
What versions of Windows do you have in your environment?
Windows 2003 32-bit standard
Then you can use VMware PowerCLI to do that.
This is cmdlet called Invoke-VMScript. It can be used to run exe, batch file or powershell script inside VM. It doesn't require network connectivity, since it uses VMtools to run the script.