<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Professional VMware &#187; VM</title> <atom:link href="http://professionalvmware.com/category/vm/feed/" rel="self" type="application/rss+xml" /><link>http://professionalvmware.com</link> <description>How Many Turtles Can You Fit On A Rock?</description> <lastBuildDate>Thu, 24 May 2012 13:39:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Installing FreeBSD 9.0 on vSphere 5</title><link>http://professionalvmware.com/2012/01/installing-freebsd-9-0-on-vsphere-5/</link> <comments>http://professionalvmware.com/2012/01/installing-freebsd-9-0-on-vsphere-5/#comments</comments> <pubDate>Wed, 18 Jan 2012 15:39:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[VM]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[freebsd]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2012/01/installing-freebsd-9-0-on-vsphere-5/</guid> <description><![CDATA[So, FreeBSD9 was released recently. While it’s not on the VMware HCL, the prior release 8.x is, so keep in mind while it works, support may get interesting if something goes sideways. Installing FreeBSD 9.0 Getting the bits I pulled the 2.1GB DVD ISO from here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/ Choose the ISO that suits what your requirements. [...]]]></description> <content:encoded><![CDATA[<p></p><p>So, FreeBSD9 was released <a
href="http://www.freebsd.org/releases/9.0R/announce.html">recently</a>. While it’s not on the VMware HCL, the prior release 8.x is, so keep in mind while it works, support may get interesting if something goes sideways.</p><h3>Installing FreeBSD 9.0</h3><h4>Getting the bits</h4><p>I pulled the 2.1GB DVD ISO from here: <a
title="ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/" href="ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/">ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/</a></p><p>Choose the ISO that suits what your requirements. For me, the DVD image provided the best all around choice.</p><h4>Set up the VM container</h4><ol><li>New VM Wizard, Typical<li>Other, FreeBSD, x64<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2012/01/image1.png"><img
style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2012/01/image_thumb1.png" width="451" height="187"></a><li>Boot the ISO<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2012/01/image2.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2012/01/image_thumb2.png" width="458" height="320"></a></li></ol><h4>Next, Next, Done</h4><p>Unless you’ve got some custom requirements, the defaults will generally work. Which is what I did:<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2012/01/image3.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2012/01/image_thumb3.png" width="385" height="171"></a></p><h4>Installing VMware Tools</h4><p>This here, took some doing as my FreeBSD-Fu is rusty:</p><ol><li>In the vSphere Client, mount the tools ISO</li><li>Install Perl</li><ol><li>cd /usr/ports/lang/perl5.12</li><li>make</li><li>make install</li></ol><li>Install the tools:</li><ol><li>mkdir /mnt/cdrom</li><li>mount /dev/cd0 -t cd9660 -e /mnt/cdrom</li><li>cp /mnt/cdrom/vmware-freebsd-tools.tar.gz /tmp</li><li>umount /mnt/cdrom</li><li>cd /tmp</li><li>tar -zxf ./vmware-freebsd-tools.tar.gz</li><li>cd vmware-tools-distrib/</li><li>./vmware-install.pl &#8211;default (two dashes)</li></ol><li>Done!</li></ol> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2012/01/installing-freebsd-9-0-on-vsphere-5/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>BrownBag Follow-Up vSphere Security with Ed Haletky</title><link>http://professionalvmware.com/2011/04/brownbag-follow-up-vsphere-security-with-ed-haletky/</link> <comments>http://professionalvmware.com/2011/04/brownbag-follow-up-vsphere-security-with-ed-haletky/#comments</comments> <pubDate>Thu, 14 Apr 2011 13:38:21 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[BrownBag]]></category> <category><![CDATA[BrownBagRecording]]></category> <category><![CDATA[security]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[brown bag]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/04/brownbag-follow-up-vsphere-security-with-ed-haletky/</guid> <description><![CDATA[The Video: ProfessionalVMware BrownBags &#8211; vSphere Security from ProfessionalVMware on Vimeo. The Links: Ed’s Site &#8211; http://www.virtualizationpractice.com/ Ed’s vSphere Security Book Ed on Twitter Summary: First, I seem to have misplaced the chat logs. There were a few good links shared. If y’all still have them handy, please drop them in the comments. As you [...]]]></description> <content:encoded><![CDATA[<p></p><h3>The Video:</h3><p> <iframe
height="300" src="http://player.vimeo.com/video/22375339" frameborder="0" width="400"></iframe><p><a
href="http://vimeo.com/22375339">ProfessionalVMware BrownBags &#8211; vSphere Security</a> from <a
href="http://vimeo.com/provmware">ProfessionalVMware</a> on <a
href="http://vimeo.com">Vimeo</a>.</p><h3>The Links:</h3><ul><li>Ed’s Site &#8211; <a
title="http://www.virtualizationpractice.com/" href="http://www.virtualizationpractice.com/">http://www.virtualizationpractice.com/</a></li><li>Ed’s <a
href="http://amzn.to/hU835R">vSphere Security Book</a></li><li>Ed on <a
href="http://twitter.com/texiwill">Twitter</a></li></ul><h3>Summary:</h3><p>First, I seem to have misplaced the chat logs. There were a few good links shared. If y’all still have them handy, please drop them in the comments. As you watch the video you’ll notice how quickly we roll from minute 1 to over time. Virtualization security is a pretty broad topic, one that we could easily waste days on. However, with this BrownBag, Ed’s book and some of the other resources mentioned during the video, you’ll have a good start.</p><p>As always, drop a line in the comments if you have questions, concerns, or would like to see something specific in a future BrownBag.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/04/brownbag-follow-up-vsphere-security-with-ed-haletky/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>VCAP DCA Lab BrownBag</title><link>http://professionalvmware.com/2011/03/vcap-dca-lab-brownbag/</link> <comments>http://professionalvmware.com/2011/03/vcap-dca-lab-brownbag/#comments</comments> <pubDate>Mon, 07 Mar 2011 16:11:35 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[BrownBag]]></category> <category><![CDATA[certification]]></category> <category><![CDATA[Fusion]]></category> <category><![CDATA[Lab]]></category> <category><![CDATA[VCAP]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[lab]]></category> <category><![CDATA[vcap-dca]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/03/vcap-dca-lab-brownbag/</guid> <description><![CDATA[It took a little while, but we’ve received a submission for the VCAP-DCA voucher contest. The submission came from Kendrick Coleman. The critical details: Date/Time: Friday, March 11, 2011 @ 7PM CST Register: https://www1.gotomeeting.com/register/689250984 Come join us for our first Live Lab presentation!]]></description> <content:encoded><![CDATA[<p></p><p>It took a little while, but we’ve received a submission for the <a
href="http://professionalvmware.com/2011/02/vcap-dca-voucher-give-away-round-2-live-lab/">VCAP-DCA voucher contest</a>. The submission came from <a
href="http://www.kendrickcoleman.com/">Kendrick Coleman</a>.</p><h3>The critical details:</h3><p>Date/Time: Friday, March 11, 2011 @ 7PM CST <br
/>Register: <a
title="https://www1.gotomeeting.com/register/689250984" href="https://www1.gotomeeting.com/register/689250984">https://www1.gotomeeting.com/register/689250984</a></p><p>Come join us for our first Live Lab presentation!</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/03/vcap-dca-lab-brownbag/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Finding Virtual Center Logs on Windows Server 2008</title><link>http://professionalvmware.com/2010/08/finding-virtual-center-logs-on-windows-server-2008/</link> <comments>http://professionalvmware.com/2010/08/finding-virtual-center-logs-on-windows-server-2008/#comments</comments> <pubDate>Mon, 23 Aug 2010 14:30:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[vCenter]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[logs]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/08/finding-virtual-center-logs-on-windows-server-2008/</guid> <description><![CDATA[Well, if that wasn’t an SEO title, I’m not sure what is. Basically, I find myself often having to find this in either the VMware KB or via Google each time I need it. Where are the logs? C:\ProgramData\VMware\VMware VirtualCenter The problem you may run into however, is that the “ProgramData” folder is hidden by [...]]]></description> <content:encoded><![CDATA[<p></p><p>Well, if that wasn’t an SEO title, I’m not sure what is. Basically, I find myself often having to find this in either the VMware KB or via Google each time I need it.</p><h3>Where are the logs?</h3><p>C:\ProgramData\VMware\VMware VirtualCenter</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2010/08/image.png"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/08/image_thumb.png" width="444" height="211" /></a></p><p>The problem you may run into however, is that the “ProgramData” folder is hidden by default. To get it visible, press “Alt + T” to get the tools menu, then select options:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2010/08/image1.png"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/08/image_thumb1.png" width="242" height="138" /></a></p><p>Select “View” and then make it look like this:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2010/08/image2.png"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/08/image_thumb2.png" width="244" height="155" /></a></p><p>Hope this helps someone other than me anyways.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/08/finding-virtual-center-logs-on-windows-server-2008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Useful Windows Commands for VM Administrators</title><link>http://professionalvmware.com/2010/06/useful-windows-commands-for-vm-administrators/</link> <comments>http://professionalvmware.com/2010/06/useful-windows-commands-for-vm-administrators/#comments</comments> <pubDate>Thu, 24 Jun 2010 17:21:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[management]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/06/useful-windows-commands-for-vm-administrators/</guid> <description><![CDATA[Over the course of my travels, I’ve found that having a quick reference to random Windows commands is helpful. Here are two sets of commands I use often enough to be useful, but not often enough that I’ve committed them to memory: Managing IP Addresses from the CLI Netsh! &#8211; This one predates PowerShell on [...]]]></description> <content:encoded><![CDATA[<p></p><p>Over the course of my travels, I’ve found that having a quick reference to random Windows commands is helpful. Here are two sets of commands I use often enough to be useful, but not often enough that I’ve committed them to memory:</p><h3>Managing IP Addresses from the CLI</h3><p>Netsh! &#8211; This one predates PowerShell on Windows boxes, and went a long way to helping the everyday lives of Windows Admins.</p><h4>Backup IP Address Config</h4><p>netsh -c interface dump &gt; c:\ip_address.txt</p><h4>Restore IP Address Config</h4><p>netsh -f c:\ip_address.txt</p><h4>Set Interface to DHCP</h4><p>netsh interface ip set address &quot;Local Area Connection&quot; dhcp <br
/>netsh interface ip set address &quot;Local Area Connection&quot; dhcp</p><h4>Set Static IP Address</h4><p>netsh interface ip set address name=&quot;Local Area Connection&quot; static 192.168.0.100 255.255.255.0 192.168.0.1 1 <br
/>netsh interface ip set dns &quot;Local Area Connection&quot; dhcp</p><h4>Reset the TCP/IP Stack</h4><p>netsh int ip reset all</p><h3>Finding the Uptime of a Windows Box</h3><p>Because you can not always plan on the presence of uptime.exe on a box, the following will get the info for you:</p><h4>SystemInfo</h4><p>systeminfo | more</p><h4>Statistics</h4><p>net statistics workstation</p><h3>Sources:</h3><ul><li><a
title="http://www.petri.co.il/configure_tcp_ip_from_cmd.htm" href="http://www.petri.co.il/configure_tcp_ip_from_cmd.htm">http://www.petri.co.il/configure_tcp_ip_from_cmd.htm</a></li><li><a
title="http://burrowowl.net/wordpress/200606/netsh_int_ip_reset_all/" href="http://burrowowl.net/wordpress/200606/netsh_int_ip_reset_all/">http://burrowowl.net/wordpress/200606/netsh_int_ip_reset_all/</a></li><li><a
title="http://www.windowsreference.com/general/how-to-find-the-system-uptime-in-windows-vistaserver-2008xp2003/" href="http://www.windowsreference.com/general/how-to-find-the-system-uptime-in-windows-vistaserver-2008xp2003/">http://www.windowsreference.com/general/how-to-find-the-system-uptime-in-windows-vistaserver-2008xp2003/</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/06/useful-windows-commands-for-vm-administrators/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>PowerCLI &#8211; Nexus1000v and VMXNET3</title><link>http://professionalvmware.com/2010/02/powercli-nexus1000v-and-vmxnet3/</link> <comments>http://professionalvmware.com/2010/02/powercli-nexus1000v-and-vmxnet3/#comments</comments> <pubDate>Thu, 18 Feb 2010 15:57:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[community]]></category> <category><![CDATA[networking]]></category> <category><![CDATA[PowerCLI]]></category> <category><![CDATA[powershell]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/02/powercli-nexus1000v-and-vmxnet3/</guid> <description><![CDATA[Today’s post is brought to us by Chris, a member of the VMware community who wields some powerful Louisianan VooDoo magic (and PowerCLI). Chris uses this to show us how to take a csv file in, and use it to attach a VM to a dVS switch as well as adding the VMXNET3 nic to [...]]]></description> <content:encoded><![CDATA[<p></p><p>Today’s post is brought to us by Chris, a member of the VMware community who wields some powerful Louisianan VooDoo magic (and PowerCLI). Chris uses this to show us how to take a csv file in, and use it to attach a VM to a dVS switch as well as adding the VMXNET3 nic to the VM. Getting right on with it:</p><h4>Story:</h4><p>Had to bulk create a bunch of VMs. The new server standard has each production server on 2 networks, the normal production network, and an auxiliary network (for backups, updates, management, etc). The issue I ran into was that our switches were created in vSphere as virtual distributed switches (using the Cisco Nexus 1000v). The standard new-vm script wouldn’t allow you to connect the network adapter to that switch, unfortunately. Also, we preferred to use VMXNET3 NICs as opposed to the default e1000, another thing that new-vm doesn’t allow. So I wrote the following script in PowerCLI that does the following:</p><ul><li>Reads in a CSV file (fields: Name,Description,OS,Disk,Memory)</li><li>Connects to the vSphere server (you specify the server and cluster to add VMs to).</li><li>Creates a VM in the specified folder on the ESX host with the least memory utilization and the datastore with the most free space and having at least 30gb free space</li><li>Removes the default e1000 NIC</li><li>Adds 2 VMXNET3 NICs on temporary networks (cannot add directly to vDS)</li><li>Connects the 2 VMXNET3 NICs to the vDS</li><li>Powers on VM</li></ul><p>Tried to generalize code as much as possible, works here, but this was a new rollout so there may be differences in how other people have it.</p><h4>Script:</h4><p> <script type="text/javascript" src="http://PoshCode.org/embed/1647"></script> <p>Ending</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/02/powercli-nexus1000v-and-vmxnet3/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>New Blogs You Should be Reading</title><link>http://professionalvmware.com/2010/01/new-blogs-you-should-be-reading/</link> <comments>http://professionalvmware.com/2010/01/new-blogs-you-should-be-reading/#comments</comments> <pubDate>Fri, 22 Jan 2010 15:26:49 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[blog]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[VMware]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/01/new-blogs-you-should-be-reading/</guid> <description><![CDATA[Perhaps they’re not new, exactly. They are new to me, however. They’re also good enough that you should be reading them as well! With that said, onto the blogs! VMDEV.info &#8211; http://www.vmdev.info/ This is put together by Keshav Attrey, a software dev with VMware. The blog concentrates on the vSphere APIs and automation around virtual [...]]]></description> <content:encoded><![CDATA[<p></p><p>Perhaps they’re not new, exactly. They are new to me, however. They’re also good enough that you should be reading them as well! With that said, onto the blogs!</p><ul><li> VMDEV.info &#8211; <a
title="http://www.vmdev.info/" href="http://www.vmdev.info/">http://www.vmdev.info/</a> <br
/>This is put together by Keshav Attrey, a software dev with VMware. The blog concentrates on the vSphere APIs and automation around virtual desktops. My kinda blog!</li><li> B3rg.nl &#8211; <a
title="http://www.b3rg.nl/index.php" href="http://www.b3rg.nl/index.php">http://www.b3rg.nl/index.php</a> <br
/>This was a more than awesome find that came up during the last VCP4 Brown Bag. Not sure how I missed it in fact. Matthijs van den Berg covers esxtop, VCP prep, VCDX Prep and more. Good stuff.</li><li> Double Cloud &#8211; <a
title="http://www.doublecloud.org/" href="http://www.doublecloud.org/">http://www.doublecloud.org/</a> <br
/>This is put together by Steve Jin. The author of the vSphere Java SDK, and the book: VMware VI and vSphere SDK: <a
title="http://bit.ly/5I10nn" href="http://bit.ly/5I10nn">http://bit.ly/5I10nn</a> (Affiliate Link). Basically, if you are going to do vSphere API work, this is the place to start.</li></ul> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/01/new-blogs-you-should-be-reading/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>VMware Tools &#8211;default!</title><link>http://professionalvmware.com/2010/01/vmware-tools-default/</link> <comments>http://professionalvmware.com/2010/01/vmware-tools-default/#comments</comments> <pubDate>Wed, 20 Jan 2010 15:34:39 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[tools]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[VMware]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/01/vmware-tools-default/</guid> <description><![CDATA[When was the last time you found yourself configuring VMware tools on Linux? Did having to incessantly press enter accepting the defaults drive you nuts too? I think I might be the last one to the game on this, but today I was stumbling through configuring VMware tools on a few Linux VMs. Stumbling, over [...]]]></description> <content:encoded><![CDATA[<p></p><p>When was the last time you found yourself configuring VMware tools on Linux? Did having to incessantly press enter accepting the defaults drive you nuts too? I think I might be the last one to the game on this, but today I was stumbling through configuring VMware tools on a few Linux VMs. Stumbling, over a terminal services session, over VPN, over some rural interwebs carrier.</p><p>A less than ideal sort of situation. The solution… other than get better internets, was to execute both “~/vmware-tools-distrib/vmware-install.pl” and “/usr/bin/vmware-config-tools.pl” with the “&#8211;default” (two dashes, then default) option. Like this:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2010/01/Ubuntu201001200929231.jpg"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Ubuntu-20100120-092923[1]" border="0" alt="Ubuntu-20100120-092923[1]" src="http://professionalvmware.com/wp-content/uploads/2010/01/Ubuntu201001200929231_thumb.jpg" width="535" height="108" /></a></p><p>What this does, is instead of making you hit enter for each of the options (because, ya know… you change them all that often), and accepts the defaults, making the entire install that much easier.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/01/vmware-tools-default/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>The Most Awesome PowerCLI Cmdlet You Aren&#8217;t Using</title><link>http://professionalvmware.com/2009/11/the-most-awesome-powercli-cmdlet-you-arent-using/</link> <comments>http://professionalvmware.com/2009/11/the-most-awesome-powercli-cmdlet-you-arent-using/#comments</comments> <pubDate>Thu, 19 Nov 2009 15:03:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[automation]]></category> <category><![CDATA[powershell]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[PowerCLI]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2009/11/the-most-awesome-powercli-cmdlet-you-arent-using/</guid> <description><![CDATA[While all of PowerCLI is remarkable in both it’s power and ease of use, there are some cmdlets that do not get as much airtime as they deserve. One of those, is Invoke-VMScript. From Get-Help InvokeVMScript NAME &#160;&#160;&#160; Invoke-VMScript SYNOPSIS &#160;&#160;&#160; Executes the specified PowerShell script in the guest OS of each of the specified [...]]]></description> <content:encoded><![CDATA[<p></p><p>While all of PowerCLI is remarkable in both it’s power and ease of use, there are some cmdlets that do not get as much airtime as they deserve. One of those, is Invoke-VMScript. From Get-Help InvokeVMScript</p><blockquote><p>NAME <br
/>&#160;&#160;&#160; Invoke-VMScript</p><p>SYNOPSIS <br
/>&#160;&#160;&#160; Executes the specified PowerShell script in the guest OS of each of the specified virtual machines.</p><p>SYNTAX <br
/>&#160;&#160;&#160; Invoke-VMScript [-ScriptText] &lt;String&gt; [-VM] &lt;VirtualMachine[]&gt; [-HostCredential &lt;PSCredential&gt;] [-HostUser &lt;String&gt;] [-HostPassword &lt;SecureString&gt;] [-GuestCredential &lt;PSCredential&gt;] [-GuestUser &lt;String&gt;] [-GuestPassword &lt;SecureString&gt;] [-ToolsWaitSecs &lt;Int32&gt;] [-Server &lt;VIServer[]&gt;] [-WhatIf] [-Confirm] [&lt;CommonParameters&gt;]</p><p>DETAILED DESCRIPTION <br
/>&#160;&#160;&#160; Executes the specified PowerShell script in the guest OS of each of the specified virtual machines. The virtual machines must be powered on and have PowerShell and VM Tools installed. In order to authenticate with the host or the guest OS, one of the HostUser/HostPassword (GuestUser/GuestPassword) pair and HostCredential (GuestCredential) parameters must be provided.</p></blockquote><p>Take a close look at the synopsis line, in fact, read it again. I’ll wait. Done? Good. Invoke-VMScript executes a specified PowerShell script INSIDE the guest OS. Starting to feel the power? No? Fine, how bout a use case? It’s yearly inventory time. You know… that time. Your boss wants a list of all VM Names, build numbers, serials, versions, and some other random things. Now, one of two things happens, either you procrastinate and then need to extend your deadline so you can log into every box, OR you use the following one-liner:</p><p><font
color="#ff8040" face="Courier New">get-vm | select -first 1 | %{ $_.Name; $_ | Invoke-VMScript -GuestUser &quot;adminUser&quot; -GuestPassword &quot;urPass&quot; -ScriptText &quot;get-wmiobjectwin32_operatingsystem&quot; -HostUser &quot;root&quot; -hostpassword &quot;rootPass&quot; } </font></p><p>That one liner (yes it is all one line) works kinda like this: Get a list of all my VMs, select the first one, then give me the name, and the output of get-wmiobjectwin32_operatingsystem. In turn, it produces the following output:</p><p>web.professionalvmware.com</p><p>SystemDirectory : C:\WINDOWS\system32 <br
/>Organization&#160;&#160;&#160; : ProfessionalVMware <br
/>BuildNumber&#160;&#160;&#160;&#160; : 3790 <br
/>RegisteredUser&#160; : ProfessionalVMware <br
/>SerialNumber&#160;&#160;&#160; : Your Serial Number here <br
/>Version&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 5.2.3790</p><p> Not convinced of Invoke-VMScript’s World Dominatingly Awesome Power? Well, let me know in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/11/the-most-awesome-powercli-cmdlet-you-arent-using/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>I&#8217;m Having An Affair &#8211; With VMware Player 3.0</title><link>http://professionalvmware.com/2009/11/im-having-an-affair-with-vmware-player-3-0/</link> <comments>http://professionalvmware.com/2009/11/im-having-an-affair-with-vmware-player-3-0/#comments</comments> <pubDate>Mon, 16 Nov 2009 03:32:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[VM]]></category> <category><![CDATA[desktop]]></category> <category><![CDATA[player]]></category> <category><![CDATA[vmware player]]></category> <category><![CDATA[vmware player 3.0]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2009/11/im-having-an-affair-with-vmware-player-3-0/</guid> <description><![CDATA[If that title won’t have my mother calling me… Well, at least it someone’s attention. Prior to VMware Player 3.0 I never gave it much time of day. Sure it worked, and sure there was a way to work around the create VM limitation and the like, but it just wasn’t… well, you got what [...]]]></description> <content:encoded><![CDATA[<p></p><p><a
href="http://professionalvmware.com/wp-content/uploads/2009/11/94357119_a311b1f708_m1.jpg"><img
style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="94357119_a311b1f708_m[1]" border="0" alt="94357119_a311b1f708_m[1]" align="left" src="http://professionalvmware.com/wp-content/uploads/2009/11/94357119_a311b1f708_m1_thumb.jpg" width="244" height="184" /></a> If that title won’t have my mother calling me… Well, at least it someone’s attention. Prior to VMware Player 3.0 I never gave it much time of day. Sure it worked, and sure there was a way to work around the create VM limitation and the like, but it just wasn’t… well, you got what you paid for. Besides, I had a VMware Workstation license from my VCP test, and did not have to worry like some folks. Now… that has all changed.</p><p>It has been a little bit since my last <a
href="http://professionalvmware.com/2009/11/using-vms-as-personal-dr/">“Incident”</a> with my laptop, and at the rate that I’m going, for my daily needs, VMware Player is quite good. Like your Dad’s (or depending on that generation your) Datsun pickup truck. It works. It works well, and consistently. It may be rough around the edges in some areas, but all and all it is a solid package, and likely deserves a second look. Heck, it will even run, and has an <a
href="http://www.vimeo.com/7362532">easy installer for ESX!</a></p><p>Have you tried Player 3.0? Liked it? Disliked it? Discuss in the comments.</p><p><em>Note: I am not actually having a marital affair… nor do I know who the folks in the picture are, the photo is courtesy of: </em><a
href="http://www.flickr.com/photos/patrick_q/"><em>Patrick Q</em></a></p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/11/im-having-an-affair-with-vmware-player-3-0/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> </channel> </rss>
