<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tim Mintner : Virtual Server and Virtual PC</title><link>http://blogs.technet.com/tmintner/archive/tags/Virtual+Server+and+Virtual+PC/default.aspx</link><description>Tags: Virtual Server and Virtual PC</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Use Powershell to add virtual machines to Virtual Server</title><link>http://blogs.technet.com/tmintner/archive/2006/07/05/440187.aspx</link><pubDate>Wed, 05 Jul 2006 09:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:440187</guid><dc:creator>tmintner</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tmintner/comments/440187.aspx</comments><wfw:commentRss>http://blogs.technet.com/tmintner/commentrss.aspx?PostID=440187</wfw:commentRss><description>&lt;P&gt;Back to a topic that I know I won't get dinged on.&amp;nbsp; :)&lt;/P&gt;
&lt;P&gt;I was playing arround with the list of available COM ProgID's by using the command in Jeffrey Snover's blog: &lt;A href="http://blogs.msdn.com/powershell/archive/2006/06/29/650913.aspx"&gt;http://blogs.msdn.com/powershell/archive/2006/06/29/650913.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I ran this command to see the available Program ID's:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;dir &amp;nbsp;REGISTRY::HKEY_CLASSES_ROOT\CLSID -include PROGID -recurse | foreach {$_.GetValue("")} | out-file progids.txt&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;After looking through the file I noticed a very interesting ID called VirtualServer.Application.&amp;nbsp; That sounded promising so I quickly ran the command:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;$vs = new-object -com "VirtualServer.Application"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;I then ran the command $vs to see what I could see...Well the command turned up a bunch of blank properties.&amp;nbsp; So I thought I might have to do some more digging so I did a quick Live Search on VirtualServer.Application and came up with two great blog entries for managing Virtual Server with Powershell:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/virtual_pc_guy/archive/2006/06/13/630165.aspx"&gt;http://blogs.msdn.com/virtual_pc_guy/archive/2006/06/13/630165.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/virtual_pc_guy/archive/2006/06/15/631857.aspx"&gt;http://blogs.msdn.com/virtual_pc_guy/archive/2006/06/15/631857.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After creating my COM wrapper and setting my security as described in the Virtual PC Guy's blog entries, I tried my $vs command again and low and behold I had some actual properties.&lt;/P&gt;
&lt;P&gt;At this point I wanted to see what I could do with that object so I typed the following command:&lt;/P&gt;
&lt;P&gt;$vs | get-member&lt;/P&gt;
&lt;P&gt;I quickly noticed a method called RegisterVirtualMachines.&amp;nbsp; That sounded promising.&amp;nbsp; I often download gigabytes of virtual machines to play with new technology and it is a royal pain to use the Virtual Server Administration Website to register all of those virtual machines.&amp;nbsp; So I did another Live Search to see what the parameters were for the RegisterVirtualMachines method and found this reference: &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msvs/msvs/ivmvirtualserver_createvirtualmachine.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msvs/msvs/ivmvirtualserver_createvirtualmachine.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As you can see there are only two required parameters, the name of the VMC file and the path to the VMC file like this RegisterVirtualMachines("Testmachine.vmc","c:\vms\")&lt;/P&gt;
&lt;P&gt;Now I was getting somewhere!&amp;nbsp; I went ahead and went for the&amp;nbsp;gold and tried this command:&lt;/P&gt;
&lt;P&gt;dir . -include *.vmc -Recurse | foreach-object {$vs.RegisterVirtualMachine($_.name,$_.directoryname)}&lt;/P&gt;
&lt;P&gt;Boom!&amp;nbsp; All of my virtual machine's were now registered inside of Virtual Server!&amp;nbsp; &lt;/P&gt;
&lt;P&gt;As you can see with a little bit of research you can take advantage of any COM progID and in a short amount of time start to use it to solve problems.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=440187" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tmintner/archive/tags/Virtual+Server+and+Virtual+PC/default.aspx">Virtual Server and Virtual PC</category><category domain="http://blogs.technet.com/tmintner/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>New Pricing Model with Virtual Server 2005 R2</title><link>http://blogs.technet.com/tmintner/archive/2005/11/23/415019.aspx</link><pubDate>Wed, 23 Nov 2005 23:24:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:415019</guid><dc:creator>tmintner</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tmintner/comments/415019.aspx</comments><wfw:commentRss>http://blogs.technet.com/tmintner/commentrss.aspx?PostID=415019</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;In response to our valued customers who are excited about the prospects of virtualizing workloads, we are doing even more to reduce the barriers to adopting Microsoft Virtual Server. The new pricing takes effect December 1&lt;SUP&gt;st&lt;/SUP&gt;, 2005. Please feel free to share this news!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A href="https://mail.microsoft.com/exchweb/bin/redir.asp?URL=http://www.microsoft.com/presspass/press/2005/nov05/11-15ITForum05UmbrellaPR.mspx" target=_blank&gt;http://www.microsoft.com/presspass/press/2005/nov05/11-15ITForum05UmbrellaPR.mspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 0.5in"&gt;&lt;FONT face=Verdana size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 140%"&gt;As part of its broad strategy to help customers realize the benefits of virtualization and progress toward self-managing dynamic systems, Microsoft has released to manufacturing (RTM) Virtual Server 2005 R2, which will be available in volume licensing and retail the first week of December. Virtual Server 2005 R2 delivers improved performance, availability and scalability for server consolidation, legacy application migration, disaster recovery, and software testing and development. &lt;B&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;Microsoft will be offering Virtual Server R2 Standard Edition for $99 (U.S.) estimated retail price and Virtual Server R2 Enterprise Edition for $199 (U.S.) estimated retail price. This new pricing represents Microsoft’s commitment to making server virtualization more accessible to customers at the lowest price point&lt;/SPAN&gt;&lt;/B&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 140%"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 140%; FONT-FAMILY: Arial"&gt;&lt;A href="https://mail.microsoft.com/exchweb/bin/redir.asp?URL=http://www.infoworld.com/article/05/11/15/HNms64bitplans_1.html" target=_blank&gt;http://www.infoworld.com/article/05/11/15/HNms64bitplans_1.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=articlebody style="MARGIN-LEFT: 0.5in"&gt;&lt;FONT face=Verdana color=black size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Muglia's speech heralded two products, both of which are interim upgrades: Windows Server 2003 R2 and Virtual Server 2005 R2. Virtual Server 2005 R2 has gone to manufacturing and will be released in December. Windows Server 2003 R2 will be released to manufacturing before the end of the year and available early next year. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=articlebody style="MARGIN-LEFT: 0.5in"&gt;&lt;FONT face=Verdana color=black size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Microsoft has priced the Standard Edition of Virtual Server 2005 R2 at $99, Muglia said. It was previously $499.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=articlebody style="MARGIN-LEFT: 0.5in"&gt;&lt;FONT face=Verdana color=black size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Muglia reiterated the company's intent to alter its licensing model from one focused solely on software installs, which he said no longer makes sense in a virtualized environment. For the Enterprise Edition of Virtual Server 2005 R2, "your license applies to a device," Muglia said. &lt;B&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;Microsoft has reduced the price for that from $999 to $199.&lt;/SPAN&gt;&lt;/B&gt; The new pricing takes effect Dec. 1. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=articlebody style="MARGIN-LEFT: 0.5in"&gt;&lt;FONT face=Verdana color=black size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;The company also recently changed the licensing for Windows Server. Now, for example, those who are running Virtual Server 2005 R2 can run four virtual instances of Windows Server at no additional license cost. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=415019" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tmintner/archive/tags/Virtual+Server+and+Virtual+PC/default.aspx">Virtual Server and Virtual PC</category></item></channel></rss>