Detecting a Virtual Machine

How do I detect that the Operating system I‘m using is running under Virtual Server?  This question is a popular one and there is a simple answer, which is to look at the Motherboard manufacturer, if it’s “Microsoft Corporation” you’re running in a guest, why, well it’s because Microsoft doesn’t make motherboards.  Once again Ben has a great example script, and others who have commented on his blog have added more methods.