Windows Core Hyper-V Server 2008

Aug 28, 2009 at 7:52 PM

We have quite a few instances of Hyper-V Server 2008.  This is a minimal version of 2008 (no GUI I believe).

These boxes do not show up when doing a Get-VMHost with a domain name.  So, for example:

Get-VMHost -domain mydomain.com

That will not return these boxes.  However this will:

Get-VMHost

How can I specify the domain I want to discover hosts on and get back the instances that are running HV Server 2008?

Coordinator
Sep 3, 2009 at 6:26 PM

There is an example in the script - get-vmhost   "DC=ite,DC=contoso,DC=com"

You need to write the domain name in AD syntax, not DNS syntax, that way  get-vmhost "Ou=MyServers,DC=MyDomain,Dc=Com" will work.