Virtualization Technology News and Information
Article
RSS
CODE: Controlling Virtual Server via PowerShell

For those of you who have been reading up on Microsoft's latest and future virtualization technologies, you probably came across a number of discussions about Microsoft PowerShell.  If not, PowerShell is a new command-line shell and task-based scripting technology that provides comprehensive control and automation of system administration tasks.  Future Microsoft products such as Exchange Server 2007 and System Center Operations Manager 2007 will be built on Windows PowerShell.

The virtualization community go-to expert, Ben Armstrong, has evidently been getting a lot of questions asking him about using PowerShell to control Microsoft Virtual Server.  Unfortunately, it seems as though this doesn't work out of the box, but when has that stopped Ben Armstrong before?  Exactly...

So, Ben posts screen shots and code samples to help us out once again.  And then he leaves us with these final notes:

  1. Under Vista hosts - PowerShell needs to be running 'As Administrator' for this to work (otherwise you will fail to create the first COM object)

  2. I could not have done this without the help of Mike Kolitz and Jon White (from the PowerShell team) - thanks guys!

Check out Ben's Web site to find out more information on how to do this... as usual, he makes it easy walking you through the process, offering code samples as well as screenshots.  Please make sure you thank him if you find this information useful.  We certainly want him to continue to support the virtualization masses with his expert coding and product knowledge.

Thanks Ben!

Visit his post, here.

 

Published Wednesday, June 14, 2006 9:05 PM by David Marshall
Filed under:
Comments
There are no comments for this post.
To post a comment, you must be a registered user. Registration is free and easy! Sign up now!
top25
Calendar
<June 2006>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678