<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Virtu-Al.Net</title>
	
	<link>http://www.virtu-al.net</link>
	<description>Virtually everything is poshable</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:47:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Virtu-Al_NET" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="virtu-al_net" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Virtu-Al_NET" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FVirtu-Al_NET" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>vCheck 6.0 released</title>
		<link>http://www.virtu-al.net/2012/02/08/vcheck-6-0-released/</link>
		<comments>http://www.virtu-al.net/2012/02/08/vcheck-6-0-released/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 20:54:35 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2422</guid>
		<description><![CDATA[One of the most popular scripts on my site with 26,966 downloads of v5 has been the vCheck script, for those of you who haven&#8217;t seen this yet here is a quick summary of this script: Summary vCheck is a vCenter checking script, the script is designed to run as a scheduled task before you [...]<p><a href="http://www.virtu-al.net/2012/02/08/vcheck-6-0-released/">vCheck 6.0 released</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>One of the most popular scripts on my site with 26,966 downloads of v5 has been the vCheck script, for those of you who haven&#8217;t seen this yet here is a quick summary of this script:</p>
<h2>Summary</h2>
<p>vCheck is a vCenter checking script, the script is designed to run as a <a href="http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/">scheduled task</a> before you get into the office to present you with key information via an email directly to your inbox in a nice easily readable format.</p>
<p>This script picks on the key known issues and potential issues of the virtual infrastructure and reports it all in one place so all you do in the morning is check your email.</p>
<p>One of they key things about this report is if there is no issue in a particular place you will not receive that section in the email, for example if there are no datastores with less than 5% free space (configurable) then the disk space section will not show in the email, this ensures that you have only the information you need in front of you when you get into the office.</p>
<p>This script is not to be confused with an Audit script, I don’t want to remind you that you have 5 hosts and what there names are and how many CPU’s they have each and every day as you don’t want to read that kind of information unless you need it, this script will only tell you about problem areas with your infrastructure.</p>
<h2></h2>
<p><span id="more-2422"></span></p>
<h2>So What&#8217;s new in 6.0</h2>
<p>vCheck 6.0 has been updated to be more community driven and easier to expand, the checks have been removed and put into <a href="http://www.virtu-al.net/featured-scripts/vcheck/vcheck-plugins/">separate plugins</a> which make it easier for people to contribute. Make sure you check out the <a href="http://www.virtu-al.net/featured-scripts/vcheck/vcheck-plugins/">plugins page</a> for a list of the plugins and what they check for.</p>
<p>The HTML output has been reformatted to work with newer versions of Outlook. (Lots of previous comments on this!)</p>
<p>A Setup Wizard has been added for easy setup and no more need to reference the vCenter address as a parameter of the script.</p>
<p><a href="http://virtu-al.net/images/vCheck-6-released_12358/SNAGHTML5837f2c6.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SNAGHTML5837f2c6" src="http://virtu-al.net/images/vCheck-6-released_12358/SNAGHTML5837f2c6_thumb.png" alt="SNAGHTML5837f2c6" width="644" height="210" border="0" /></a></p>
<p>As the plugins have been moved out it makes this HTML report framework easy to adapt to other PowerShell enabled products like</p>
<ul>
<li>VMware vCD (Already started this one)</li>
<li>Sharepoint</li>
<li>Exchange</li>
<li>vShield</li>
<li>VMware View</li>
<li>SQL</li>
<li>Active Directory</li>
<li>and more.</li>
</ul>
<p>Please contact me if your interested to start your own using this template.</p>
<p>A header image has been added to the HTML report to make the report more customizable..</p>
<p><a href="http://virtu-al.net/images/vCheck-6-released_12358/SNAGHTML583ab440.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SNAGHTML583ab440" src="http://virtu-al.net/images/vCheck-6-released_12358/SNAGHTML583ab440_thumb.png" alt="SNAGHTML583ab440" width="640" height="184" border="0" /></a></p>
<p>And much much more including lots of speed enhancements.</p>
<h2>Big Thanks</h2>
<p>Lastly I want to add a big thanks to everyone who has ever run this script and continues to use it, I hope you will find this version as useful as the previous versions.  Thanks to the Beta testers, I couldn’t have done it without you, you all came up with some great ideas and additions which made it hard for me to finish developing and releasing – I think I have enough for v7 !</p>
<p>And lastly thanks to anyone who writes a plugin themselves and sends it through to me to include on the plugins page.  Keep an eye out soon for some information on how you can easily add new plugins and check your current plugins.</p>
<h2>Download</h2>
<p><a href="http://www.virtu-al.net/featured-scripts/vcheck/">As always, please head over the the vCheck page on this site to download the script.</a></p>
<p><a href="http://www.virtu-al.net/2012/02/08/vcheck-6-0-released/">vCheck 6.0 released</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/02/08/vcheck-6-0-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using PowerShell with Internet Explorer</title>
		<link>http://www.virtu-al.net/2012/01/25/using-powershell-with-internet-explorer/</link>
		<comments>http://www.virtu-al.net/2012/01/25/using-powershell-with-internet-explorer/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 09:34:39 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2401</guid>
		<description><![CDATA[PowerShell is a great language, I am often amazed at how far it can actually reach and what you can gather data, write data or use data from. Mainly I use PowerShell to manage my VMware environment but last night I broke from my comfort zone and took some time to see what I was [...]<p><a href="http://www.virtu-al.net/2012/01/25/using-powershell-with-internet-explorer/">Using PowerShell with Internet Explorer</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>PowerShell is a great language, I am often amazed at how far it can actually reach and what you can gather data, write data or use data from.</p>
<p>Mainly I use PowerShell to manage my VMware environment but last night I broke from my comfort zone and took some time to see what I was able to do with Internet Explorer – Did you know you can programmatically browse the web with PowerShell ?  Well you can!</p>
<h2>The Reason</h2>
<p>First thing I needed was a reason, at the moment there is <a href="http://www.surveygizmo.com/s3/786135/Top-VMware-virtualization-blogs-2012" target="_blank">a poll for top virtualization blogs</a>, last year I surprisingly did very well in this and would like to thank anyone who voted for me.  This year as I was filling it out and selecting some of my favorite blogs from the list.  People like Duncan Epping, Eric Sloof, William Lam, Luc Dekens, Jonathan Medd, Frank Denneman the list goes on and on and then I found my blog tucked away near the bottom amongst the other blogs beginning with V… as this is a virtualization top list you can imagine there were a few beginning with V!</p>
<p>Anyway, I thought there must be an easier way to allow people to vote for me than to hope they find me amongst the V’s and don’t get bored along the way and choose others so here it is:</p>
<p>The below script is not a cheating script, it will not make you vote for me 1000 times it will simply start internet explorer, browse to the survey and select my site for you, one this has done you are free to deselect me if you wish and also select the other 9 participants you would like to vote for.  After this just follow on through the survey and click Submit to finish.</p>
<p>Obviously with PowerShell I could have just added my favorite bloggers to this script and completed the survey for you but that would be cheating and I believe in the freedom to vote!</p>
<p>So if you have not yet voted then simply paste the following code into a PowerShell window and watch it control internet explorer and automatically select Virtu-Al from the list, the other choices are up to you!</p>
<pre class="brush: powershell; title: ; notranslate">$URL = &quot;http://www.surveygizmo.com/s3/786135/Top-VMware-virtualization-blogs-2012&quot;
$ie = New-Object -com InternetExplorer.Application
$ie.visible=$true
$ie.navigate($URL)
while($ie.ReadyState -ne 4) {start-sleep -m 100}
$ie.Document.getElementById(&quot;sg_NextButton&quot;).click()
$ie.Document.getElementById(&quot;sgE-786135-1-27-10906&quot;).Click() # Click Virtu-Al</pre>
<p><a href="http://www.virtu-al.net/2012/01/25/using-powershell-with-internet-explorer/">Using PowerShell with Internet Explorer</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/01/25/using-powershell-with-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>London VMUG – Thu 26th Jan</title>
		<link>http://www.virtu-al.net/2012/01/24/london-vmug-thu-26th-jan/</link>
		<comments>http://www.virtu-al.net/2012/01/24/london-vmug-thu-26th-jan/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 09:24:37 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2396</guid>
		<description><![CDATA[Another year another VMUG, with some great subjects.  If you haven&#8217;t already signed up to the London VMUG this coming Thursday (26th Jan) then make sure you do quick. Details Sign up here: http://www.myvmug.org/e/in/eid=273 Thursday, 26 January 2012 Time: 10:00 &#8211; 17:15 London Chamber of Commerce and Industry 33 Queen Street London, EC4R 1AP Directions [...]<p><a href="http://www.virtu-al.net/2012/01/24/london-vmug-thu-26th-jan/">London VMUG &ndash; Thu 26th Jan</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>Another year another VMUG, with some great subjects.  If you haven&#8217;t already signed up to the London VMUG this coming Thursday (26th Jan) then make sure you do quick.</p>
<p><span id="more-2396"></span></p>
<h2>Details</h2>
<p>Sign up here: <a title="http://www.myvmug.org/e/in/eid=273" href="http://www.myvmug.org/e/in/eid=273">http://www.myvmug.org/e/in/eid=273</a></p>
<p>Thursday, 26 January 2012</p>
<p>Time: 10:00 &#8211; 17:15<br />
London Chamber of Commerce and Industry<br />
33 Queen Street<br />
London, EC4R 1AP<br />
<a href="http://www.londonchamber.co.uk/lcc_public/article.asp?aid=342">Directions</a></p>
<p>Time: 17:15<br />
Pavilion End,<br />
23 Watling Street, EC4M 9BR<br />
<a href="http://www.fullers.co.uk/rte.asp?id=4&amp;itemid=395&amp;task=View">Directions</a></p>
<h2>Agenda</h2>
<p><a href="http://virtu-al.net/images/London-VMUG_82F5/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Agenda" src="http://virtu-al.net/images/London-VMUG_82F5/image_thumb.png" alt="Agenda" width="522" height="480" border="0" /></a></p>
<p><a href="http://www.virtu-al.net/2012/01/24/london-vmug-thu-26th-jan/">London VMUG &ndash; Thu 26th Jan</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/01/24/london-vmug-thu-26th-jan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerCLI Android and iPhone App</title>
		<link>http://www.virtu-al.net/2012/01/19/powercli-android-app/</link>
		<comments>http://www.virtu-al.net/2012/01/19/powercli-android-app/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 14:47:19 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2388</guid>
		<description><![CDATA[A while back I found an iPhone and iPad app which allowed you to reference the PowerCLI Cmdlets, this is quite useful when you are on the move and need a quick reference. Today I came across a similar app for the android and also iPhone and wanted to share it. vPowerCLI5 Reference is an [...]<p><a href="http://www.virtu-al.net/2012/01/19/powercli-android-app/">PowerCLI Android and iPhone App</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>A while back I found <a href="http://www.virtu-al.net/2010/01/19/powercli-on-the-iphone/" target="_blank">an iPhone and iPad app which allowed you to reference the PowerCLI Cmdlets</a>, this is quite useful when you are on the move and need a quick reference.</p>
<p>Today I came across a similar app for the android and also iPhone and wanted to share it.</p>
<p>vPowerCLI5 Reference is an app for Android which can be downloaded from here:</p>
<p>Android: <a title="http://droidmill.com/vpowercli5-reference-405917.html#.Txgq7ZiE6-8" href="http://droidmill.com/vpowercli5-reference-405917.html#.Txgq7ZiE6-8">http://droidmill.com/vpowercli5-reference-405917.html#.Txgq7ZiE6-8</a></p>
<p>iPhone: <a title="http://itunes.apple.com/us/app/vpowercli5-reference/id489731144?mt=8" href="http://itunes.apple.com/us/app/vpowercli5-reference/id489731144?mt=8">http://itunes.apple.com/us/app/vpowercli5-reference/id489731144?mt=8</a></p>
<blockquote><p>This tool is to be used for referencing the VMware vSphere PowerCLI cmdlets. vSphere PowerCLI is a command-line and scripting tool built on Windows PowerShell, and is used for managing and automating vSphere.</p></blockquote>
<p>It looks like this is a Android/iPhone friendly version of the online PowerCLI help which can be found here:</p>
<p><a title="http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/index.html" href="http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/index.html">http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/index.html</a></p>
<p><a href="http://virtu-al.net/images/PowerCLI-Android-App_CE24/image_4.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border-width: 0px;" title="image" src="http://virtu-al.net/images/PowerCLI-Android-App_CE24/image_thumb_4.png" alt="image" width="161" height="276" align="left" border="0" /></a></p>
<p><a href="http://virtu-al.net/images/PowerCLI-Android-App_CE24/image_5.png"><img style="background-image: none; margin: 0px 6px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border-width: 0px;" title="image" src="http://virtu-al.net/images/PowerCLI-Android-App_CE24/image_thumb_5.png" alt="image" width="164" height="277" align="left" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This post was updated to include iPhone app.</p>
<p><a href="http://www.virtu-al.net/2012/01/19/powercli-android-app/">PowerCLI Android and iPhone App</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/01/19/powercli-android-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Console2 with PowerShell and PowerCLI</title>
		<link>http://www.virtu-al.net/2012/01/15/using-console2-with-powershell-and-powercli/</link>
		<comments>http://www.virtu-al.net/2012/01/15/using-console2-with-powershell-and-powercli/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 20:58:32 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2382</guid>
		<description><![CDATA[I may be a late comer to this app but there is a cool free app here called Console2.  I am now using it for the quick work I need to do in PowerCLI and PowerShell, the stuff I dont need to save or need an editor for. Its great as a portable app, I [...]<p><a href="http://www.virtu-al.net/2012/01/15/using-console2-with-powershell-and-powercli/">Using Console2 with PowerShell and PowerCLI</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>I may be a late comer to this app but there is a cool free app <a href="http://sourceforge.net/projects/console/" target="_blank">here</a> called Console2.  I am now using it for the quick work I need to do in PowerCLI and PowerShell, the stuff I dont need to save or need an editor for.</p>
<p>Its great as a portable app, I have it in my DropBox folder and its syncd between my PC’s as well as being on a USB key so I can use it from anywhere.</p>
<p>I like the way you can resize the window and it resizes the buffer and the copy and paste is also enhanced from the normal console.</p>
<p>I have packaged my settings and logos up so you too can see what I see, just download the settings file from below and <a href="http://sourceforge.net/projects/console/" target="_blank">Console2 from here</a> and extract them into the same folder.</p>
<p><a  title='Console2 Settings' href='http://www.virtu-al.net/?wpdmact=process&did=MTUuaG90bGluaw==' style="background:url('http://www.virtu-al.net/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;">Console2 Settings</a></p>
<h3>Eye Candy</h3>
<p><a href="http://virtu-al.net/images/Using-Console2-with-PowerShell-and-Power_B4EC/Console2.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Console2" src="http://virtu-al.net/images/Using-Console2-with-PowerShell-and-Power_B4EC/Console2_thumb.jpg" alt="Console2" width="244" height="208" border="0" /></a></p>
<p><a href="http://virtu-al.net/images/Using-Console2-with-PowerShell-and-Power_B4EC/Console2PS.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Console2PS" src="http://virtu-al.net/images/Using-Console2-with-PowerShell-and-Power_B4EC/Console2PS_thumb.jpg" alt="Console2PS" width="244" height="216" border="0" /></a></p>
<p><a href="http://www.virtu-al.net/2012/01/15/using-console2-with-powershell-and-powercli/">Using Console2 with PowerShell and PowerCLI</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/01/15/using-console2-with-powershell-and-powercli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating your Image Profile</title>
		<link>http://www.virtu-al.net/2012/01/06/updating-your-image-profile/</link>
		<comments>http://www.virtu-al.net/2012/01/06/updating-your-image-profile/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 16:27:17 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Auto Deploy]]></category>
		<category><![CDATA[Image Builder]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2373</guid>
		<description><![CDATA[If you have been using the image builder and auto deploy cmdlets which came with vSphere 5.0 then you will already know how easy it is to completely rebuild all hosts just by replacing a simple auto deploy rule with your new image profile and then rebooting your hosts. But how do you create your [...]<p><a href="http://www.virtu-al.net/2012/01/06/updating-your-image-profile/">Updating your Image Profile</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>If you have been using the image builder and auto deploy cmdlets which came with vSphere 5.0 then you will already know how easy it is to completely rebuild all hosts just by replacing a simple auto deploy rule with your new image profile and then rebooting your hosts.</p>
<h3>But how do you create your new image profile ?</h3>
<p>An Image profile normally consists of a base ESXi image downloaded from VMware and then some custom software packages added in to ensure you have all the third party addons, drivers and utilities needed for the host to work with your infrastructure.</p>
<p>An example of this is the EMC PowerPath Software Package or the HP ESXi Proliant offline bundle, others may include the software package needed for the vCD Agent.</p>
<p>Once these software packages have been added to your image profile you are then able to export it back as an offline zip file, ISO file or use it in you Auto Deploy rule-set.</p>
<p>But when it comes to updating you need to remember which software packages you added to which build of ESX and repeat this procedure, this can be time consuming.</p>
<h2>Introducing Update-ESXImageProfile</h2>
<p>Did you know that VMware has an online repository of up to date versions of ESXi Software Depots ?  You can easily add this to your Image Builder session with the following line of code:</p>
<pre class="brush: powershell; title: ; notranslate">Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml</pre>
<p><a href="http://virtu-al.net/images/Updating-your-Image-Profile_E026/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://virtu-al.net/images/Updating-your-Image-Profile_E026/image_thumb.png" alt="image" width="644" height="306" border="0" /></a></p>
<p>Using this online depot I was able to create a script which would download any newer software packages from the base ESXi Software Depot online and compare these against your current image profile, once this has been done it will add these latest versions to your image profile ensuring you have an up-to-date Image Profile.</p>
<p>Of course you will need to make sure you export this as a zip again so you can use it in the future and also add it to your Auto Deploy rule-set and reboot your hosts.</p>
<h2>See it in action</h2>
<p><iframe src="http://player.vimeo.com/video/34664136?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="500" height="400"></iframe></p>
<h2>The Script</h2>
<pre class="brush: powershell; title: ; notranslate">Function Update-ESXImageProfile ($ImageProfile, $tools){
	if ($ImageProfile.Readonly) {
		Write-Host &quot;Your ImageProfile is read-only and therefore cannot be updated, please use a custom ImageProfile&quot;
	} Else {
		Write &quot;Loading online Software Depot&quot;
		$SD = Add-EsxSoftwareDepot -DepotUrl https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
		If ($tools) {
			$NEWIP = Get-EsxImageProfile -Vendor &quot;VMware, Inc.&quot; | Sort ModifiedTime -Descending | Where { $_.Name -notlike &quot;*tools&quot; } | Select -First 1
		} Else {
			$NEWIP = Get-EsxImageProfile -Vendor &quot;VMware, Inc.&quot; | Sort ModifiedTime -Descending | Where { $_.Name -like &quot;*tools&quot; } | Select -First 1
		}
		Write-Host &quot;New Image Profile found called $($NEWIP.Name)...&quot;
		Write-Host &quot;Checking for updated packages which do not exist in $ImageProfile&quot;
		$Compare = Compare-EsxImageProfile -ReferenceProfile $ImageProfile -ComparisonProfile $NEWIP
		$Updates = ($Compare | Select -ExpandProperty UpgradeFromRef)
		If ($Updates) {
			Foreach ($SP in $Updates) {
				$UpdatedPackage = Get-EsxSoftwarePackage | Where {$_.Guid -eq $SP}
				Write-Host &quot;Adding $($UpdatedPackage.Name) to $ImageProfile&quot;
				$Add = Add-EsxSoftwarePackage -ImageProfile $ImageProfile -SoftwarePackage $UpdatedPackage
			}
		}
		$OnlyInComp = ($Compare | Select -ExpandProperty OnlyInComp)
		If ($OnlyInComp) {
			Foreach ($SP in $OnlyInComp) {
				$UpdatedPackage = Get-EsxSoftwarePackage | Where {$_.Guid -eq $SP}
				Write-Host &quot;Adding $($UpdatedPackage.Name) to $ImageProfile&quot;
				$Add = Add-EsxSoftwarePackage -ImageProfile $ImageProfile -SoftwarePackage $UpdatedPackage
			}
		}
		If ((-not $OnlyInComp) -and (-not $Updates)) {
			Write-Host &quot;No Updates found for $ImageProfile&quot;
		}
	}
}

Update-ESXImageProfile -ImageProfile &quot;CustomImageProfile&quot; -Tools $true</pre>
<p><a href="http://www.virtu-al.net/2012/01/06/updating-your-image-profile/">Updating your Image Profile</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/01/06/updating-your-image-profile/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMware vShield PowerShell Module</title>
		<link>http://www.virtu-al.net/2012/01/04/vmware-vshield-powershell-module/</link>
		<comments>http://www.virtu-al.net/2012/01/04/vmware-vshield-powershell-module/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 17:07:10 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vShield]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2363</guid>
		<description><![CDATA[A while back I was asked if we could automate some areas of vShield, VMware Security suite of products.  I was asked to do this for a demo which was to be used at VMworld, having never touched vShield before I was thrown into the world of security at the deep end.  The first thing [...]<p><a href="http://www.virtu-al.net/2012/01/04/vmware-vshield-powershell-module/">VMware vShield PowerShell Module</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>A while back I was asked if we could automate some areas of vShield, VMware Security suite of products.  I was asked to do this for a demo which was to be used at VMworld, having never touched vShield before I was thrown into the world of security at the deep end.  The first thing I found on my quest was the vShield API, there is a <a href="http://www.vmware.com/pdf/vshield_50_api.pdf?rct=j&amp;q=vshield%20%20rest%20api%205.0&amp;source=web&amp;cd=1&amp;ved=0CCMQFjAA&amp;url=https://www.vmware.com/go/vshield-API-Guide&amp;ei=iIYET7vGN_LMiQKrvOG4Dg&amp;usg=AFQjCNHd_7p4rEQVoXFyWGCBJFEO0TlhNg&amp;sig2=o8ndKdYl198gePYRZyUptQ">great document by VMware which explains the vShield proprietary Web-RPC API (Based on Rest API)</a> and all the calls you would ever need to make to work with the vShield products.</p>
<p>Now I had the API details I knew I could easily write some PowerShell code in the form of an advanced function to work with the API, the first piece of code I wrote was a generic function which allowed me to GET, PUT, DELETE and POST to a proprietary Web-RPC based Restful API. I know PowerShell v3 will include cmdlets for this but I didn’t want to wait or add a dependency on something which wasn’t available as yet.</p>
<p><span id="more-2363"></span>With this completed the rest of the advanced functions were easily created, it was just a case of sending the correct parameter to my function and the correct URL and my results would be returned.</p>
<p>So why would we want to do this ?</p>
<p>Automation is a powerful tool, with automation we can not only make our lives as administrators easier and less cumbersome but also enable products to do things automagically that they never could do before.</p>
<p>I will add more and more posts for this module to show you what I mean but first things first I just wanted to get the module out here and available for feedback and general usage.</p>
<p>Don’t forget my other posts around automating vShield here:</p>
<ul>
<li><a href="http://www.virtu-al.net/2011/09/14/powershell-automated-install-of-vshield-5/">PowerShell automated install of vShield 5</a></li>
<li><a href="http://www.virtu-al.net/2011/09/30/automated-install-of-vshield-services/">Automated install of vShield Services</a></li>
</ul>
<h2>Requirements</h2>
<ul>
<li>PowerShell v2</li>
<li>PowerCLI (Latest Version)</li>
<li>vShield Module (See Downloads area on this page)</li>
<li>vShield Manager 5.0</li>
<li>vCenter</li>
</ul>
<h2>Download</h2>
<p>You can download the module here:</p>
<p><a  title='vShield PowerShell Module v1.0' href='http://www.virtu-al.net/?wpdmact=process&did=MTQuaG90bGluaw==' style="background:url('http://www.virtu-al.net/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;">Download</a></p>
<h2>Install and Usage</h2>
<p>The below video will take you through the install and give you enough to get started:<br />
<iframe src="http://player.vimeo.com/video/34564214?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="500" height="400"></iframe></p>
<h2>Feedback</h2>
<p>If there is anything you have ever wanted to automate with vShield but didn’t know how then please let me know, the cmdlets are easily adjusted.</p>
<p><a href="http://www.virtu-al.net/2012/01/04/vmware-vshield-powershell-module/">VMware vShield PowerShell Module</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2012/01/04/vmware-vshield-powershell-module/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VM Start-up script</title>
		<link>http://www.virtu-al.net/2011/12/14/vm-start-up-script/</link>
		<comments>http://www.virtu-al.net/2011/12/14/vm-start-up-script/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 00:11:23 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2350</guid>
		<description><![CDATA[Back in Jan 2010 I wrote a script which shut down the virtual infrastructure, this was used to ensure your VMs were shut down and then your hosts were shut down in an orderly manner, ideal for things like UPS shutdown scripts etc. A slight spin on that is a Start-Up script, I was asked [...]<p><a href="http://www.virtu-al.net/2011/12/14/vm-start-up-script/">VM Start-up script</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>Back in Jan 2010 I wrote a script which <a href="http://www.virtu-al.net/2010/01/06/powercli-shutdown-your-virtual-infrastructure/" target="_blank">shut down the virtual infrastructure</a>, this was used to ensure your VMs were shut down and then your hosts were shut down in an orderly manner, ideal for things like UPS shutdown scripts etc.</p>
<p>A slight spin on that is a Start-Up script, I was asked by a couple of people if I had one of these, it also becomes more relevant with the vCenter Virtual appliance, no need for HA and DRS rules or to manually search for the vCenter Virtual Appliance if there is a power outage.</p>
<p>The script below will connect to all hosts you define at the start, these could obviously be read from a csv, xml file or a database etc but I just define them in a variable for ease of the script.</p>
<p>The script will firstly connect to each of these hosts in turn, once connected it will search for the first VMs, in my case this is a couple of domain controllers, it could be database servers or any other infrastructure servers which need to come up before vCenter.   Once these VMs have been found the script will start them and wait for their tools status to be ready, this is an easy way to check that the VM is started completely.</p>
<p>Once the infrastructure servers are started it will then search for your vCenter VM, this could be on any of the connected hosts, it will start it and again wait until the tools return as being completely started.</p>
<h2></h2>
<p><span id="more-2350"></span></p>
<h2>The Script</h2>
<pre class="brush: powershell; title: ; notranslate">$MyHosts = &quot;192.168.0.101&quot;, &quot;192.168.0.102&quot;
$username = &quot;root&quot;
$password = &quot;p@$$w0rd&quot;
$DomainSRV = &quot;DOMAIN01&quot;, &quot;DOMAIN02&quot;
$VirtualVC = &quot;vCenter01&quot;

$AllowMultiple = Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Confirm:$false

$MyHosts | Foreach {
Write-Host &quot;Connecting to host: $($_)&quot;
$connection = Connect-VIServer $_ -User $username -Password $password
}

$VM = Get-VM $DomainSRV
$VM | Foreach {
Write-Host &quot;Starting $($_.name) found on $($_.VMHost)&quot;
$StaringVMs = Start-VM $_ -Confirm:$false -RunAsync
}

$VM | Foreach {
do {
$VM = Get-VM $_
$Toolsstatus = $VM.ExtensionData.Guest.ToolsRunningStatus
Write-Host &quot;Waiting for $VM to start, tools status is $Toolsstatus&quot;
Sleep 7
} until ($Toolsstatus -eq &quot;guestToolsRunning&quot;)
}

$StartVC = Get-VM $VirtualVC | Start-VM -Confirm:$false

do {
$VM = Get-VM $VirtualVC
$Toolsstatus = $VM.ExtensionData.Guest.ToolsRunningStatus
Write-Host &quot;Waiting for $VM to start, tools status is $Toolsstatus&quot;
Sleep 7
} until ($Toolsstatus -eq &quot;guestToolsRunning&quot;)

Write-Host -ForegroundColor Yellow &quot;vCenter Server started, please connect as normal&quot;
</pre>
<h2>In Action</h2>
<p><iframe src="http://player.vimeo.com/video/33630092?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="500" height="400"></iframe></p>
<p><a href="http://www.virtu-al.net/2011/12/14/vm-start-up-script/">VM Start-up script</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2011/12/14/vm-start-up-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Migrating ESX to ESXi</title>
		<link>http://www.virtu-al.net/2011/12/01/migrating-esx-to-esxi/</link>
		<comments>http://www.virtu-al.net/2011/12/01/migrating-esx-to-esxi/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 19:22:45 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[ESX/ESXi]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2347</guid>
		<description><![CDATA[Just released on the VMware Flings site is a fling which is designed to help when you make the move from ESX to ESXi, this tool will help you check hardware software and also that there are no lingering scripts or locally stored VMs etc. A great tool to download and run against your environment [...]<p><a href="http://www.virtu-al.net/2011/12/01/migrating-esx-to-esxi/">Migrating ESX to ESXi</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://virtu-al.net/images/882868b1ec6b_10E44/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border: 0px;" title="image" src="http://virtu-al.net/images/882868b1ec6b_10E44/image_thumb.png" alt="image" width="289" height="200" align="right" border="0" /></a></p>
<p>Just released on the <a href="http://labs.vmware.com/flings" target="_blank">VMware Flings site</a> is a fling which is designed to help when you make the move from ESX to ESXi, this tool will help you check hardware software and also that there are no lingering scripts or locally stored VMs etc.</p>
<p>A great tool to download and run against your environment to ensure you have caught everything before the move to the next version of ESXi.<span id="more-2347"></span></p>
<p>From the official description:</p>
<blockquote><p>The ESX System Analyzer is a tool designed to help administrators plan a migration from ESX to ESXi. It analyzes the ESX hosts in your environment and, for each host, collects information on factors that pertain to the migration process:</p>
<ul>
<li>Hardware compatibility with ESXi</li>
<li>VMs registered on the ESX host, as well as VMs located on the host’s local disk</li>
<li>Modifications to the Service Console
<ul>
<li>RPMs which have been added or removed</li>
<li>Files which have been added</li>
<li>Users and cronjobs which have been added</li>
</ul>
</li>
</ul>
<p>This tool also provides summary information for the whole existing environment</p>
<ul>
<li>Version of VMware Tools and Virtual Hardware for all VMs</li>
<li>Version of Filesystem for all datastores</li>
</ul>
<p>By having this information, administrators can determine what tasks need to be done prior to the migration. Examples include:</p>
<ul>
<li>Relocate VMs from local datastores to shared datastores</li>
<li>Make note of what agent software has been added to the host and obtain the equivalent agentless version</li>
<li>Replace cronjobs with equivalent remote scripts written with PowerCLI or vCLI</li>
</ul>
</blockquote>
<h2>Download</h2>
<p>Make sure you visit the fling site here and use this fling against your environment:</p>
<p><a title="http://labs.vmware.com/flings/esx-system-analyzer" href="http://labs.vmware.com/flings/esx-system-analyzer">http://labs.vmware.com/flings/esx-system-analyzer</a></p>
<p><a href="http://www.virtu-al.net/2011/12/01/migrating-esx-to-esxi/">Migrating ESX to ESXi</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2011/12/01/migrating-esx-to-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vCloud Director 1.0 PowerShell Advanced Functions</title>
		<link>http://www.virtu-al.net/2011/11/25/vcloud-director-1-0-powershell-advanced-functions/</link>
		<comments>http://www.virtu-al.net/2011/11/25/vcloud-director-1-0-powershell-advanced-functions/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 10:54:33 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[vCloud Director]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2345</guid>
		<description><![CDATA[Its no secret that VMware are working on vCloud Director (vCD) cmdlets, they recently surveyed the PowerShell and VMware community to make sure they had all the information needed to make this as much of a success as the vSphere PowerCLI cmdlets. But did you know you can already use PowerShell with vCD ?  It [...]<p><a href="http://www.virtu-al.net/2011/11/25/vcloud-director-1-0-powershell-advanced-functions/">vCloud Director 1.0 PowerShell Advanced Functions</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>Its no secret that VMware are working on vCloud Director (vCD) cmdlets, they recently <a href="http://www.virtu-al.net/2011/11/23/powercli-for-vcloud-directorhave-your-say/" target="_blank">surveyed the PowerShell and VMware community</a> to make sure they had all the information needed to make this as much of a success as the vSphere PowerCLI cmdlets.</p>
<p>But did you know you can already use PowerShell with vCD ?  It should be no surprise to anyone who uses PowerShell to know that PowerShell does a great job with XML manipulation and API calls.</p>
<p>As part of vCD 1.0 there was obviously an API, this was based on REST which is essentially calls to web pages and sending/receiving data, so with the knowledge that this API is available and that PowerShell is a great way to communicate with this API all that was left was for someone to tie all this together and create some advanced functions which can be used against the vCloud API…. enter Jake Robinson.</p>
<p><a href="http://virtu-al.net/images/vCloud-Director-1.0-Advanced-Functions_9413/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border-width: 0px;" title="image" src="http://virtu-al.net/images/vCloud-Director-1.0-Advanced-Functions_9413/image_thumb.png" alt="image" width="244" height="179" align="right" border="0" /></a></p>
<p>Jake has been doing some great work recently, personally I have spoken to him a couple of times and had the privilege of meeting him at VMworld 2011 Las Vegas, he is a great guy and very knowledgeable about both PowerShell and vCD so the perfect guy to create some advanced functions.</p>
<p>The functions can be downloaded from here:</p>
<p>Download: <a title="https://github.com/jakerobinson/vCloud-Powershell" href="https://github.com/jakerobinson/vCloud-Powershell">https://github.com/jakerobinson/vCloud-Powershell</a></p>
<p>I would also recommend checking out his great video on what he has created and some examples of how these can be used published <a href="http://geekafterfive.com/" target="_blank">here on his blog</a> (add to your RSS feed) and also embedded below.<span id="more-2345"></span></p>
<p><iframe style="width: 523px; height: 403px;" src="http://www.youtube.com/embed/6wfLBWS0krc" frameborder="0" width="420" height="315"></iframe></p>
<p>Overall I think these are a great start and something VMware should be looking very closely at when creating the cmdlets for vCD 1.5</p>
<p>Great job Jake !</p>
<p><a href="http://www.virtu-al.net/2011/11/25/vcloud-director-1-0-powershell-advanced-functions/">vCloud Director 1.0 PowerShell Advanced Functions</a> is a post from: <a href="http://www.virtu-al.net">Virtu-Al</a>.<br>
Virtu-Al is one of the authors of VMware vSphere PowerCLI Reference: Automating vSphere Administration" <br><br>Buy it now from:
<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&tag=virtal-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470890797" target="_blank">Amazon USA</a>
<a href="https://www.amazon.co.uk/dp/0470890797?tag=virtal-21&camp=1406&creative=6394&linkCode=as1&creativeASIN=0470890797&adid=11S7HEXGGN3JB7HNME6M&" target="_blank">Amazon UK
</a><a href="http://www.sybex.com/WileyCDA/SybexTitle/VMware-vSphere-PowerCLI-Reference-Automating-vSphere-Administration.productCd-0470890797.html" target="_blank">Sybex</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virtu-al.net/2011/11/25/vcloud-director-1-0-powershell-advanced-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

