How to script powering on VM's

PowerShell script exchange

How to script powering on VM's

Veeam Logoby jmcelvoy » Tue Sep 25, 2012 2:44 pm

I'm looking for a script that will power on a list of VM's in a specific order for testing. I'd also need to then have a script turn them back off. This is for our Disaster Recovery location.
Posts: 7
Liked: never
Joined: Wed Mar 14, 2012 9:34 pm
Full Name: Jason McElvoy

Re: How to script powering on VM's

Veeam Logoby Sethbartlett » Wed Sep 26, 2012 6:41 pm

Get vPowerCLI from VMware:

Code: Select all
Get-VM "Name of VM" | Start-VM
Get-VM "Name of VM" | Stop-VM
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me ;)
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Posts: 282
Liked: 25 times
Joined: Wed Nov 10, 2010 6:51 pm
Full Name: Seth Bartlett

Return to PowerShell

Who is online

Users browsing this forum: spoiledindy and 11 guests