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
> 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>