Thursday, September 16, 2010

Executing commands in a VM via powershell

I got to thinking today that when you tell a VM to shutdown the OS, it is actually executing a command against the VM itself, not just in VMware. I decided to do a little searching to see what it takes to do something similar with other commands (such as srvinfo, or listing disk usage) and started googling.
I came across this interesting post that describes how to change a VMs IP address using the Invoke-VMScript powershell command.
A little more searching and I found the following page that lists several other powershell functions to interact with guest VMs. Copy-VMGuestFile and Invoke-VMScript are 2 particularly interesting ones.

1 comment:

Vertie Martin said...

At the risk of making a suggestion you probably already know, I also want to point out that you don't have to walk the journey alone. Having a top 10 essay writing services strong and healthy support group, whether they be family, good friends, or counselors, can empower you along the way.