Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: plimpiasPosted on 2009-08-01 at 14:27:53ID: 24996741
This would be why i recommend putting a dc on a seperate physical box.
ot\virtual ization")
CT * FROM Msvm_ComputerSystem WHERE ElementName='" & VMName & "'")
tStateChan ge(2)
You need to RDP to the server using a local admin account and run this script
copy this script below and name it startvm.vbs
change the name DCNAMe to your dc server name
csript startvm.vbs
Option Explicit
Dim WMIService
Dim VMList
Dim VMName
'Specify the name of the virtual machine that I want to start
VMName = "DCNAME"
'Get instance of 'virtualization' WMI service on the local computer
Set WMIService = GetObject("winmgmts:\\.\ro
'Query for the specific virtual machine that I want to start
Set VMList = WMIService.ExecQuery("SELE
' Request a state change on the first VM that is returned
' 2 = start, 3 = stop and 32769 = save state
VMList.ItemIndex(0).Reques