[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

08/01/2009 at 02:19PM PDT, ID: 24619220
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

How to start up a VM in Hyper-V when I cannot access the Hyper-V server from HV Management Console?

Asked by tfcmarty in Hyper-V, Hypervisor

Tags: Microsoft, Hyper-V

I got myself in a sticky wicket.  I have a Intel Modular Server running Hyper-V,  Installed EBS Management server in it's own VM, Installed EBS Messaging Server in another VM.  They are the domain controllers.  Put the Hyper-V in the domain.  had to bring down the server to do a Bios update.

Problem: Hyper-V starts fine, Tried to use my Vista PC to see the VM's on the server but cannot because I don't have DNS nor Active Directory running.

I tried to use  the Virtual Guy's vbs file to start the VM but I get error
startvm.vbs(20,1) SWbemObjectSet: Invalid Parameter

See Script in Code Section:

I'm not sure how to run the Powerscript on the Hyper-V console.

So I went back to trying to access VM's via the Management console after making sure I can ping the Hyper-V, putting the name resolution in my host file I keep getting:
Cannot connect the the RPC service on computer 'GLVMHOST1' Make sure your RPC service is running.

I'm stuck, I loaded the HVremote to check that the firewall has been turned off on both the Hyper-V and Workstation.


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
Starting a Hyper-V Virtual Machine
Next in the line up of scripts - another simple one - starting a virtual machine:
 
VBScript:
 
Option Explicit
 
Dim WMIService
Dim VMList
Dim VMName
 'Specify the name of the virtual machine that I want to start
VMName = "glmgmt"
 
 'Get instance of 'virtualization' WMI service on the local computerSet WMI
Service = GetObject("winmgmts:\\.\root\virtualization")
 'Query for the specific virtual machine that I want to start
Set VMList = WMIService.ExecQuery("SELECT * FROM Msvm_ComputerSystem WHERE ElementName='" & VMName & "'")
 ' Request a state change on the first VM that is returned
 ' 2 = start, 3 = stop and 32769 = save state
VMList.ItemIndex(0).RequestStateChange(2) 
 
PowerShell:
 
#The name of the virtual machine to be started$VMName = "Windows Server 2003" #
Get the VM Object$query = "SELECT * FROM Msvm_ComputerSystem WHERE ElementName='" + $VMName + "'"$VM = get-wmiobject -query $query -namespace "root\virtualization" -computername "." 
#Request a state change on the VM
$Result = $VM.RequestStateChange(2)
[+][-]08/01/09 02:27 PM, ID: 24996741

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/01/09 03:00 PM, ID: 24996869

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/01/09 05:20 PM, ID: 24997188

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/01/09 05:39 PM, ID: 24997235

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/01/09 06:17 PM, ID: 24997346

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/01/09 06:28 PM, ID: 24997390

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 07:58 AM, ID: 24999019

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 08:41 AM, ID: 24999169

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 08:42 AM, ID: 24999171

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 12:39 PM, ID: 25000130

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 01:25 PM, ID: 25000345

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 01:26 PM, ID: 25000348

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:10 PM, ID: 25000766

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 03:30 PM, ID: 25000870

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:38 PM, ID: 25000913

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 04:10 PM, ID: 25001029

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 04:51 PM, ID: 25001178

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 05:44 PM, ID: 25001310

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hyper-V, Hypervisor
Tags: Microsoft, Hyper-V
Sign Up Now!
Solution Provided By: plimpias
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625