<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx</link><description>One of the cornerstone features of System Center Virtual Machine Manager (SCVMM) is PowerShell. They have built their entire GUI layered on top of PowerShell in the same way that Exchange 2007 did. A little while ago, I talked to Rakesh Malhotra (the</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#9932861</link><pubDate>Sat, 05 Dec 2009 01:27:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932861</guid><dc:creator>Weidong Cui</dc:creator><description>&lt;p&gt;Hi Jeffrey,&lt;/p&gt;
&lt;p&gt;I installed SCVMM 2008 R2, but I couldn't find the cmdlet Get-DVDDrive as you used in your article. &amp;nbsp;Can you please give me some pointers on how to use the powershell scripts shipped with SCVMM?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Weidong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9932861" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#9855401</link><pubDate>Sun, 02 Aug 2009 04:02:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855401</guid><dc:creator>PowerShell Team</dc:creator><description>&lt;p&gt;1) Aliases can map to anything not just cmdlets that is why the parameter name is -VALUE&lt;/p&gt;
&lt;p&gt;2) We should have REMOVE-ALIAS. &amp;nbsp;Full stop. &amp;nbsp;We prioritized other features. &amp;nbsp;The way you do it is:&lt;/p&gt;
&lt;p&gt;Remove-Item Alias:name&lt;/p&gt;
&lt;p&gt;I'd appreciate the details for #4. &amp;nbsp;V2 should run V1 scripts with perfect fidelity modulo bug fixes.&lt;/p&gt;
&lt;p&gt;jps&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9855401" width="1" height="1"&gt;</description></item><item><title>PowerShell Method Signatures</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#9855314</link><pubDate>Sat, 01 Aug 2009 22:14:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855314</guid><dc:creator>neilhmurhphy</dc:creator><description>&lt;p&gt;I have given up on powershell as a scripting language because:&lt;/p&gt;
&lt;p&gt;1) I tried to establish an alias without the book in front of me. You try it &amp;quot;Get-Help Set-Alias&amp;quot; now which is the alias and which is the commandlet. Please note that I did look in the book and the syntax given there is not what &amp;quot;Get-Help Set-Alias&amp;quot; returned.&lt;/p&gt;
&lt;p&gt;2) There is no &amp;quot;Delete-Alias&amp;quot; so my only option was to uninstall the product and the reinstall. Is this how to run a railroad (or language)?&lt;/p&gt;
&lt;p&gt;3) Because in the two MS books (Step by Step &amp;amp; Guide) that I have the string methods are essentially undocumented I wrote a script using what I could find (including stuff on .VBS). Then I started writing the script that I wanted. &lt;/p&gt;
&lt;p&gt;4) The two scripts behave quite differently (under both v1 and v2 of PS) even though they are syntactically identical. The error messages only further demonstrate PowerShell's inadequacy.&lt;/p&gt;
&lt;p&gt;5) A null string obviously does not &amp;quot;Contain&amp;quot; anything so the result should be &amp;quot;False&amp;quot; not an error message. &lt;/p&gt;
&lt;p&gt;If you send me an e-mail at yahoo I would be happy to reply with additional documentation. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9855314" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1911556</link><pubDate>Mon, 19 Mar 2007 11:00:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1911556</guid><dc:creator>Ben Christian</dc:creator><description>&lt;p&gt;I'd have to say that I'm pretty impressed with how easy it is to write scripts for SCVMM using PowerShell. &amp;nbsp;The hardest part is that there isn't any documentation yet and there aren't many people blogging about it. &amp;nbsp;Your code sample was about the only peice of sample code that I could find, yet from that I was able to work out how to start and stop VMs and create checkpoints without too much trouble. &amp;nbsp;I've posted my progress at &lt;a rel="nofollow" target="_new" href="http://www.benchristian.com"&gt;http://www.benchristian.com&lt;/a&gt; and have included some sample scripts that I have created.&lt;/p&gt;
&lt;p&gt;I've done quite a bit of scripting with vbscript and can say that PowerShell is a lot easier work with. &amp;nbsp;I have to point out though that I when it comes to virtualisation, &amp;nbsp;Microsoft have a lot of catching up to do before they can compete with VMWare. &amp;nbsp;Having said that, the company that I work for almost exclusively uses Microsoft products so SCVMM is very warmly welcomed!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1911556" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1666219</link><pubDate>Tue, 13 Feb 2007 08:05:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1666219</guid><dc:creator>Rakesh Malhotra</dc:creator><description>&lt;p&gt;Thomas - you're making the right point. We were able to use Powershell and its constructs to create an excellent &amp;quot;user interface&amp;quot; for scripting. Sure, we had to write the cmdlets but now you don't have to. &lt;/p&gt;
&lt;p&gt;In fact, our entire user interface for SCVMM is built on top of powershell which means our UI developers use it as their API. That type of approach forces a certain amount of rigor and thought in your scripting interface design. Our API is your API. If it's hard to script for you, it's hard to write and maintain code for us as well. With the object-based constructs that powershell provides, this type of design decision was a no-brainer for us and it keeps us honest with customers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1666219" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1620627</link><pubDate>Wed, 07 Feb 2007 20:16:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1620627</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Those who have pointed out that Virtual Server cmdlets had to be written are, I think, missing the point: VMware commands also had to be written. Indeed, the designs of the respective cmdlets/commands are an important part of the comparison, in my view.&lt;/p&gt;
&lt;p&gt;The point, as I see it, is to show the difference in philosophies, with the VMware commands being based on the traditional Unix model of generating and processing text streams, whereas the Virtual Server cmdlets are based on the PowerShell model of interacting with self-describing objects.&lt;/p&gt;
&lt;p&gt;You could use PowerShell to process text streams generated by something like vmware-cmd, but that wouldn't be making use of the object-based nature of the shell, which is one of its key advantages over traditional shells like bash, and hence would be rather pointless. On the other hand, a traditional shell like bash doesn't include any notion of objects, so simply isn't capable of working in the way that PowerShell does.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1620627" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1572466</link><pubDate>Thu, 01 Feb 2007 15:29:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1572466</guid><dc:creator>16aR</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Those 2 scripts cannot be compared, they aren't based on the same VMWare utilities (vmware-cmd)&lt;/p&gt;
&lt;p&gt;Just rewrite the powershell script using the vmware-cmd, and then you can compare it. I can write the same type of your powershell script using bash, using my own own cmdlet developed for that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1572466" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1566010</link><pubDate>Wed, 31 Jan 2007 18:50:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1566010</guid><dc:creator>Don</dc:creator><description>&lt;p&gt;Jerry, the difference is that in the Windows world we DON'T already have thousands of cmdlets. I think you may have looked at the comparison differently; this isn't Linux vs. Windows. This is Windows vs. Windows - that is, an older way of scripting vs. a newer way - something that we haven't had. Yes, a Linux script was used, but it's substantially similar to what we'd have had to do on Windows, too. Your point about how Linux focuses on the command line before the UI is exactly the point of PowerShell. No, it's not earth-shattering for the IT industry as a whole - but for Windows, it is - we've never been ABLE to think like this. PowerShell DOES make the situation different - for Windows. Since PowerShell isn't made for Linux, Linux really &amp;quot;don't enter into it,&amp;quot; apart from the fact that PowerShell borrows a lot of great ideas from *nix and brings them to Windows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1566010" width="1" height="1"&gt;</description></item><item><title>PowerShell Support for Virtual Machine Manager</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1559495</link><pubDate>Wed, 31 Jan 2007 01:44:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1559495</guid><dc:creator>Dugie's Pensieve</dc:creator><description>&lt;p&gt;Clive beat me to it again! PowerShell uberguru Jeffrey Snover has blogged &amp;quot; Virtual Machine Manager’s&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1559495" width="1" height="1"&gt;</description></item><item><title>re: Virtual Machine Manager’s PowerShell Support</title><link>http://blogs.msdn.com/b/powershell/archive/2007/01/29/virtual-machine-manager-s-powershell-support.aspx#1559181</link><pubDate>Wed, 31 Jan 2007 00:32:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1559181</guid><dc:creator>Jerry Haltom</dc:creator><description>&lt;p&gt;I don't get it. This is nothing special. Some dude had to go and write 3 cmdlets to make this happen. The same dude could have written 3 bash scripts to source. Same stuff.&lt;/p&gt;
&lt;p&gt;There is no magic here.&lt;/p&gt;
&lt;p&gt;The difference is in the Linux world, we already have thousands of 'cmdlets', because people focus on writing the command line interface before the UI, instead of the other way around.&lt;/p&gt;
&lt;p&gt;It's a bit disingenuous to suggest that PowerShell somehow makes this situation any different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1559181" width="1" height="1"&gt;</description></item></channel></rss>