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.http://www.virtu-al.net/2010/02/05/powercli-changing-a-vm-ip-address-with-invoke-vmscript/
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.http://www.amikkelsen.com/?p=357

2 comments:

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.

Courtney Smith said...

Do I need to follow all that steps? Or I can skip some of them? And how much time will it take to complete this procedure? Papermasters.com review shows that not all commands are vital but still there are arguments on this topic.