Windows Vista Forums

Re: Is it possible to detect Microsoft Virtual Server software through WMI?

  1. #1


    Wilson, Phil Guest

    Re: Is it possible to detect Microsoft Virtual Server software through WMI?

    This might help:

    http://blogs.msdn.com/virtual_pc_guy...27/484479.aspx
    --
    Phil Wilson
    The Definitive Guide to Windows Installer
    http://www.apress.com/book/view/1590592972



    "Trust No One®" <dana.scully@newsgroup> wrote in message
    news:7qoaq4FrlcU1@newsgroup

    > I'd like to create a group policy that applies only to member servers on
    > which Microsoft Virtual Server software is installed.
    >
    > Unfortunate due to our OU organization in Active Directory it is not
    > feasible to group all the applicable member servers into a single OU, so a
    > WMI-filter seems a useful solution.
    >
    > My knowledge of WMI is minimal though. Can anyone advice whether a WMI
    > query can detect the presence of the Microsoft Virtual Server software or
    > its services?
    >
    > Any advice much appreciated.
    >
    > --
    > Peter <X-Files fan>
    >

      My System SpecsSystem Spec

  2. #2


    Trust No One® Guest

    Re: Is it possible to detect Microsoft Virtual Server software through WMI?

    Wilson, Phil wrote:Thanks for your reply and the link.

    Unfortunately this link regards detecting whether you are running within a
    Microsoft virtual machine.

    What I'm after is somewhat different - I wish determine (via WMI) whether
    _physical_ member servers have the Microsoft Virtual Server software
    installed on them.

    Apologies - I don't believe on reflection that I was entirely clear about
    this in my post.

    --
    Peter <X-Files fan>



      My System SpecsSystem Spec

  3. #3


    TreyS Guest

    Re: Is it possible to detect Microsoft Virtual Server software through WMI?

    I think the answer is definitely, "yes".

    I haven't actually worked this with the older Virtual Server product, but
    assume there are great similarities to Hyper-V, which has a ton of WMI
    objects available. If your goal is only to determine if VS, or Hyper-V, is
    installed, you can just test for the existence of one of the WMI objects by
    instantiating an instance of the virtualization namespace. If it fails, you
    assume the product is not installed.

    If you want more specific info, you can explore specific items.

    If you plan to do any scripting for Hyper-V, you may want to start with this
    library as a shortcut and learning tool:
    http://pshyperv.codeplex.com/

    The attached script is intended to examine memory allocations on a Hyper-V
    server, but it first checks to see if Hyper-V is running on the target
    computer. It may help get you started. Run with no arguments, it looks at
    the local computer. Put a computer name on the command line, and it looks
    at a remote server. (Rename it to .PS1)



    "Trust No One®" <dana.scully@newsgroup> wrote in message
    news:7qpdl6Fn7sU1@newsgroup

    > Wilson, Phil wrote:> Thanks for your reply and the link.
    >
    > Unfortunately this link regards detecting whether you are running within a
    > Microsoft virtual machine.
    >
    > What I'm after is somewhat different - I wish determine (via WMI) whether
    > _physical_ member servers have the Microsoft Virtual Server software
    > installed on them.
    >
    > Apologies - I don't believe on reflection that I was entirely clear about
    > this in my post.
    >
    > --
    > Peter <X-Files fan>
    >

      My System SpecsSystem Spec

Re: Is it possible to detect Microsoft Virtual Server software through WMI?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Server vs. all software in a single image. Detroit J Virtual Server 4 13 Jan 2009
Microsoft Hyper-V Server 2008 - create virtual machine Lubomir Virtual Server 1 15 Oct 2008
Facing critical problem with Microsoft Virtual Server 2005-R2 SP1 Rishi Sharma(INDIA) Virtual Server 2 08 Jul 2008
Virtual Server - Microsoft Learning Machines Problem Nachete Virtual Server 0 21 May 2008
Virtual Server - Microsoft Learning Machines Wyatt Software 0 21 May 2008