<?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>Fri, 14 Jun 2013 21:49:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>Reporting on RPO violations from vSphere Replication</title>
		<link>http://www.virtu-al.net/2013/06/14/reporting-on-rpo-violations-from-vsphere-replication/</link>
		<comments>http://www.virtu-al.net/2013/06/14/reporting-on-rpo-violations-from-vsphere-replication/#comments</comments>
		<pubDate>Fri, 14 Jun 2013 21:44:38 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere Replication]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2809</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2809&c=251457564' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2809&c=251457564' border='0' alt='' /></a></p><br />vSphere Replication was introduced with vSphere 5.0 and SRM 5.0 providing a way for customers without the ability to leverage storage array replication to utilize Site Recovery Manager (SRM) within their environments as their disaster recovery solution. With the release of vSphere 5.1 vSphere Replication also became available as a standalone replication solution included with [...]<p><a href="http://www.virtu-al.net/2013/06/14/reporting-on-rpo-violations-from-vsphere-replication/">Reporting on RPO violations from vSphere Replication</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://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2809&c=1135200667' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2809&c=1135200667' border='0' alt='' /></a></p><br /><p>vSphere Replication was introduced with vSphere 5.0 and SRM 5.0 providing a way for customers without the ability to leverage storage array replication to utilize Site Recovery Manager (SRM) within their environments as their disaster recovery solution.</p>
<p>With the release of vSphere 5.1 vSphere Replication also became available as a standalone replication solution included with Essentials Plus and higher vSphere license editions. Customers now have the option of deploy vSphere Replication on its own to provide basic per-VM replication for use cases where SRM&#8217;s advanced DR orchestration capabilities were not applicable.</p>
<p>As adoption of vSphere Replication is growing amongst the vSphere 5.1 customer base so has the number of requests for ideas, hints and tips on what kind of reporting could be added to provide usage information for the various events that could occur amongst a collection of replicated VM&#8217;s.</p>
<p>Some examples would be:</p>
<ul>
<li>highlight when a given VM violates its RPO</li>
<li>detect when the violated RPO state is restored</li>
<li>compute the time duration for the RPO violation</li>
<li>collate the total amount of data replicated for a given VM over a given time period</li>
</ul>
<p>The number of customers asking for this kind of information led to this blog being written and the scripts being created in conjunction with <a href="https://twitter.com/leedilworth" target="_blank">Lee Dilworth</a> who is a Principal Systems Engineer with VMware and SRM expert.</p>
<p>In this initial article we have included some scripts that will provide the <span id="more-2809"></span>administrator with a means to produce a csv file that contains (for each replicated VM) a history of its RPO violations, when they started/ended and how long each lasted.</p>
<h3>Working with events</h3>
<p>PowerCLI has a great cmdlet which allows us to work with vSphere Events, this means we can programmatically display and export the information we need by finding a list of events which have been produced in vSphere.  This cmdlet is called Get-VIEvent, more information <a href="http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FGet-VIEvent.html" target="_blank">on its usage can be found here</a>.</p>
<h3>Retrieving all vSphere Replication events</h3>
<p>With our first example, once connected to the source replication vCenter Server in PowerCLI through the Connect-VIServer cmdlet we can easily pull any events which have been generated by vSphere Replication and export them straight into a CSV file onto the current users desktop by using the following One-Liner:</p>
<pre class="brush: powershell; title: ; notranslate">Get-VIEvent -MaxSamples ([int]::MaxValue) | Where { $_.EventTypeId -match &quot;hbr|rpo&quot; } | Select CreatedTime, FullFormattedMessage, @{Name=&quot;VMName&quot;;Expression={$_.Vm.Name}} | export-csv -NoTypeInformation -Path ([Environment]::GetFolderPath(&quot;Desktop&quot;) + &quot;\HBR-RPOEvents.csv&quot;)</pre>
<p>Example formatted output:</p>
<p><a href="http://virtu-al.net/images/Reporting-on-RPO-violations-from-vSphere_D71A/TinyGrab-Screen-Shot-13-06-2013-15.45.59.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="TinyGrab Screen Shot 13-06-2013 15.45.59" alt="TinyGrab Screen Shot 13-06-2013 15.45.59" src="http://virtu-al.net/images/Reporting-on-RPO-violations-from-vSphere_D71A/TinyGrab-Screen-Shot-13-06-2013-15.45.59_thumb.png"  width="644" height="252" border="0" /></a></p>
<h3>Creating the RPO Report</h3>
<p>Now we are able to retrieve the event information for RPO events we can format the data to give us exactly what we needed from the report, again this will output a file to the users desktop, make sure you are connected to the source vCenter server and then run this script:</p>
<pre class="brush: powershell; title: ; notranslate">Write-Host &quot;[$(Get-Date)] Retrieving VMs&quot;
$VMs = Get-VM

$Results = @()
Foreach ($VM in $VMs) {
	Write-Host &quot;[$(Get-Date)] Retrieving events for $($VM.name)&quot;
	$Events = Get-VIEvent -MaxSamples ([int]::MaxValue) -Entity $VM
	Write-Host &quot;[$(Get-Date)] Filtering RPO events for $($VM.name)&quot;
	$RPOEvents = $Events | where { $_.EventTypeID -match &quot;rpo&quot; } | Where { $_.Vm.Name -eq $VM.Name } | Select EventTypeId, CreatedTime, FullFormattedMessage, @{Name=&quot;VMName&quot;;Expression={$_.Vm.Name}} | Sort CreatedTime
	if ($RPOEvents) {
		$Count = 0
		Write-Host &quot;[$(Get-Date)] Finding replication results for $($VM.Name)&quot;
		do {
			$details = &quot;&quot; | Select VMName, ViolationStart, ViolationEnd, Mins
			if ($RPOEvents[$count].EventTypeID -match &quot;Violated&quot;) {
				If (-not $details.Start) {
					$Details.VMName = $RPOEvents[$Count].VMName
					$Details.ViolationStart = $RPOEvents[$Count].CreatedTime
					Do {
					$Count++
					} until (($RPOEvents[$Count].EventTypeID -match &quot;Restored&quot;) -or ($Count -gt $RPOEvents.Count))
					if ($RPOEvents[$count].EventTypeID -match &quot;Restored&quot;) {
						$details.ViolationEnd = $RPOEvents[$Count].CreatedTime
						$Time = $details.ViolationEnd - $details.ViolationStart
						$details.Mins = &quot;{0:N2}&quot; -f $Time.TotalMinutes
					} Else {
						$details.ViolationEnd = &quot;No End Date&quot;
						$details.Mins = &quot;N/A&quot;
					}
				}
			}
			$Results += $details
			$Count++
		} until ($count -gt $RPOEvents.Count)
	}
}
$Results | export-csv -NoTypeInformation -Path ([Environment]::GetFolderPath(&quot;Desktop&quot;) + &quot;\ViolationReport.csv&quot;)</pre>
<p>Example formatted output:</p>
<p><a href="http://virtu-al.net/images/Reporting-on-RPO-violations-from-vSphere_D71A/TinyGrab-Screen-Shot-14-06-2013-14.31.37.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="TinyGrab Screen Shot 14-06-2013 14.31.37" alt="TinyGrab Screen Shot 14-06-2013 14.31.37" src="http://virtu-al.net/images/Reporting-on-RPO-violations-from-vSphere_D71A/TinyGrab-Screen-Shot-14-06-2013-14.31.37_thumb.png"  width="400" height="484" border="0" /></a></p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/06/14/reporting-on-rpo-violations-from-vsphere-replication/">Reporting on RPO violations from vSphere Replication</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/2013/06/14/reporting-on-rpo-violations-from-vsphere-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool Tech: Pebble watch</title>
		<link>http://www.virtu-al.net/2013/06/07/cool-tech-pebble-watch/</link>
		<comments>http://www.virtu-al.net/2013/06/07/cool-tech-pebble-watch/#comments</comments>
		<pubDate>Fri, 07 Jun 2013 18:28:14 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2783</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2783&c=168506519' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2783&c=168506519' border='0' alt='' /></a></p><br />Yesterday I finally received my Pebble which I ordered a while back when they were in their Kickstarter phase of “Should we do this?” – I for one am glad they did as it’s a great device! For those of you who are not aware, a Pebble is a cool watch witch uses Bluetooth to [...]<p><a href="http://www.virtu-al.net/2013/06/07/cool-tech-pebble-watch/">Cool Tech: Pebble watch</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://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2783&c=552444118' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2783&c=552444118' border='0' alt='' /></a></p><br /><p><a href="http://virtu-al.net/images/3c99372ad82e_98C3/photo.jpg" class="gallery_colorbox"><img title="photo" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="photo" align="right" src="http://virtu-al.net/images/3c99372ad82e_98C3/photo_thumb.jpg"  width="244" height="184" /></a>Yesterday I finally received my Pebble which I ordered a while back when they were in their <a href="http://www.kickstarter.com/projects/597507018/pebble-e-paper-watch-for-iphone-and-android" target="_blank">Kickstarter phase</a> of “Should we do this?” – I for one am glad they did as it’s a great device!</p>
<p>For those of you who are not aware, a Pebble is a cool watch witch uses Bluetooth to connect to your iPhone or Android phone and allow you to do cool things like…</p>
<p><span id="more-2783"></span>
<ul>
<li>Receive vibrating notifications straight to your wrist for most of the apps you would normally receive them from on the phone like Email, Caller ID, SMS, Calendar Alerts, Facebook, Twitter etc etc </li>
<li>Play retro style games – Remember Snakes on the Nokia (or QBasic before that) and Space invaders, Tetris etc </li>
<li>App integration with apps such as runkeeper to display your pace, mph, how long you have been running </li>
<li>Control your music with iTunes and Pandora and other music apps, skip songs, display title and album. </li>
<li>Specific apps like the <a href="http://kennberg.com/7min/" target="_blank">7 Minute workout App</a> </li>
<li>Use it with If That Then This for further updates </li>
</ul>
<p>And that’s just the start, there are also some funky watch faces which you can install many of and simply switch between them with the push of one button, the watch faces and a good number of games can be downloaded from <a title="http://www.mypebblefaces.com" href="http://www.mypebblefaces.com">http://www.mypebblefaces.com</a></p>
<p>Also, the design of the watch is very cool, its water resistant so you get a nice magnetized usb charger, apparently the charge lasts for around 7 days because it is made with e-paper.&#160; Its slick and sexy and has a vibrating motor and accelerometer with gesture detection which is used for the light to ensure readability at night when moved.</p>
<p>Check out their site to find out more details or order yours…. <a title="http://getpebble.com" href="http://getpebble.com">http://getpebble.com</a></p>
<h2>My Watch Faces</h2>
<p>Of course the first thing I did once my family had stopped sending me “funny” SMS messages just to see them appear on my wrist! was to create a few watch faces of my own, nothing interactive for now but just something cool to switch to at VMUGs or VMworld etc, these were created with an awesome site here:&#160; <a title="http://www.watchface-generator.de" href="http://www.watchface-generator.de">http://www.watchface-generator.de</a></p>
<div align="center">
<table cellspacing="0" cellpadding="0" width="696" align="center" border="0">
<tbody>
<tr>
<td width="212" align="center"><a href="http://virtu-al.net/images/3c99372ad82e_98C3/photo-1.jpg" class="gallery_colorbox"><img title="photo 1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="photo 1" src="http://virtu-al.net/images/3c99372ad82e_98C3/photo-1_thumb.jpg"  width="185" height="244" />></a>PowerCLI             <br /><a href="http://www.watchface-generator.de/watchfaces/20130607/powercli/" target="_blank">Download here</a></td>
<td width="311" align="center"><a href="http://virtu-al.net/images/3c99372ad82e_98C3/photo-2.jpg" class="gallery_colorbox"><img title="photo 2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="photo 2" src="http://virtu-al.net/images/3c99372ad82e_98C3/photo-2_thumb.jpg"  width="185" height="244" />></a>VMware Hands On Labs             <br /><a href="http://www.watchface-generator.de/watchfaces/20130607/vmwarehol/" target="_blank">Download here</a></td>
<td width="171" align="center"><a href="http://virtu-al.net/images/3c99372ad82e_98C3/photo_3.jpg" class="gallery_colorbox"><img title="photo" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="photo" src="http://virtu-al.net/images/3c99372ad82e_98C3/photo_thumb_3.jpg"  width="348" height="484" /></a>            </p>
<p>VMworld 2013             <br /><a href="http://www.watchface-generator.de/watchfaces/20130610/vmworld2013/" target="_blank">Download here</a></td>
</tr>
</tbody>
</table></div>
<h2>A slight issue</h2>
<p>After receiving my pebble and pairing it with my watch and going through the setup wizard I was receiving SMS and Caller ID fine but was not receiving twitter, calendar notifications, emails and others.&#160; The only way I found to fix this was to go into the notification settings of the iPhone and for each of the items I wanted to receive them for I would disable and re-enable the notifications.&#160; This is a glitch which I&#8217;m sure will be fixed in the future but I wanted others not to b as puzzled as I was for a few minutes.</p>
<h1>Next Steps</h1>
<p>With the Pebble having an API I think it would be cool to come up with an App that allows you to control VMware vSphere using the watch, just thing, instant stats and inventory numbers to your watch, deploy and delete VMs, Snapshots, Power on Power Off all from your watch – Now that would be cool!</p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/06/07/cool-tech-pebble-watch/">Cool Tech: Pebble watch</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/2013/06/07/cool-tech-pebble-watch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Show-Command with PowerCLI</title>
		<link>http://www.virtu-al.net/2013/05/31/using-show-command-with-powercli/</link>
		<comments>http://www.virtu-al.net/2013/05/31/using-show-command-with-powercli/#comments</comments>
		<pubDate>Fri, 31 May 2013 12:03:52 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[VMUG]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2776</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2776&c=341068314' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2776&c=341068314' border='0' alt='' /></a></p><br />Recently when at the Western Pennsylvania VMUG I was asked by Rob Velarde if I had tried Show-Command with PowerCLI, I know that PowerCLI5.1 R2 now supports PowerShell V3 where the Show-Command cmdlet was introduced so thought I would take a look. Looking at a cmdlets syntax can be complicated for people who are new [...]<p><a href="http://www.virtu-al.net/2013/05/31/using-show-command-with-powercli/">Using Show-Command with 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><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2776&c=1879032105' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2776&c=1879032105' border='0' alt='' /></a></p><br /><p>Recently when at the Western Pennsylvania VMUG I was asked by Rob Velarde if I had tried Show-Command with PowerCLI, I know that PowerCLI5.1 R2 now supports PowerShell V3 where the Show-Command cmdlet was introduced so thought I would take a look.</p>
<p>Looking at a cmdlets syntax can be complicated for people who are new to PowerShell and PowerCLI, the below is an example of the New-VM cmdlet…</p>
<p><a href="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/SNAGHTMLa230967.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="SNAGHTMLa230967" alt="SNAGHTMLa230967" src="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/SNAGHTMLa230967_thumb.png"  width="678" height="209" border="0" /></a></p>
<p>So what does all this mean?</p>
<p>&nbsp;</p>
<p><span id="more-2776"></span></p>
<p>The mixture of square brackets, angle brackets tell us what is required by a cmdlet and which items are positional, each line shows a separate parameter set (4 in this example), and that’s just the basics!</p>
<p>This can be confusing for people who are learning PowerCLI and just need to get the job done, what do they need to fill out, what are some of the options?</p>
<h2>Show-Command</h2>
<p>Show-Command is a great way to help people learn PowerCLI and the parameters they need to use for a given cmdlet.  If I use Show-Command with New-VM we are presented with a graphical representation of the input for the New-VM Cmdlet:</p>
<p><a href="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/image.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" alt="image" src="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/image_thumb.png"  width="325" height="480" border="0" /></a></p>
<p>Each parameter set is now represented by a new tab in the GUI:</p>
<p><a href="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/image_3.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" alt="image" src="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/image_thumb_3.png"  width="476" height="132" border="0" /></a></p>
<p>We can easily see the required entries as they are marked with a * and fill out each part of the form to create a new virtual machine.  Another cool feature of Show-Command is that if there are defined values for a parameter these will be listed in a selection box:</p>
<p><a href="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/image_4.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" alt="image" src="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/image_thumb_4.png"  width="482" height="211" border="0" /></a></p>
<p>And the last cool feature which takes us back to helping the new people learn more is that once you have filled out the GUI you have a couple of options to show what the cmdlet would look like if you ran it at the console.</p>
<p>1. Hit the Copy button and paste it into a script editor or the PowerCLI console to see the fully completed cmdlet with parameters for what you just filled out.</p>
<p>2.  Hit the Run button to submit the command and create the VM, next you can push the up arrow in the PowerCLI console to see the history and what the cmdlet would have looked like if you had not used the GUI, this is a great way of learning!</p>
<p>For example, the following GUI entries</p>
<p><a href="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/SNAGHTMLa3fb5dc.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="SNAGHTMLa3fb5dc" alt="SNAGHTMLa3fb5dc" src="http://virtu-al.net/images/Using-Show-Command-with-PowerCLI_30F9/SNAGHTMLa3fb5dc_thumb.png"  width="332" height="480" border="0" /></a></p>
<p>After hitting Run and using the up arrow in the same console (or hitting copy) you would get the following PowerCLI code:</p>
<pre class="brush: powershell; title: ; notranslate">New-VM -Name MyVM1 -Template MyTemplate1 -Datastore MyDatastore1 -DiskStorageFormat Thin -VMHost MyVMHost1</pre>
<h2>Conclusion</h2>
<p>You can see how using Show-Command can help simplify learning the inputs for a cmdlet, this is useful when getting started with PowerCLI (Or PowerShell for that matter) and also helps us understand more about parameter sets and required parameters.</p>
<p>Do you have any other easy ways to help new people learn PowerCLI or PowerShell? Make sure you comment below!</p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/05/31/using-show-command-with-powercli/">Using Show-Command with 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/2013/05/31/using-show-command-with-powercli/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Altering VMKernel NIC MTU with PowerCLI</title>
		<link>http://www.virtu-al.net/2013/05/24/altering-vmkernel-nic-mtu-with-powercli/</link>
		<comments>http://www.virtu-al.net/2013/05/24/altering-vmkernel-nic-mtu-with-powercli/#comments</comments>
		<pubDate>Fri, 24 May 2013 22:27:01 +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=2762</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2762&c=563349158' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2762&c=563349158' border='0' alt='' /></a></p><br />I was asked if it was possible to set the VMKernel Nic MTU in PowerCLI, after looking on the internet there were several people showing how to do this but some of them were very complicated, maybe this has got easier over time as with each release of PowerCLI one of the things the PowerCLI [...]<p><a href="http://www.virtu-al.net/2013/05/24/altering-vmkernel-nic-mtu-with-powercli/">Altering VMKernel NIC MTU with 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><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2762&c=167037433' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2762&c=167037433' border='0' alt='' /></a></p><br /><p>I was asked if it was possible to set the VMKernel Nic MTU in PowerCLI, after looking on the internet there were several people showing how to do this but some of them were very complicated, maybe this has got easier over time as with each release of PowerCLI one of the things the PowerCLI Dev team looks at is how to make things easier for the end user?</p>
<p>Anyway, I thought I would show my one line solutions for listing and setting the MTU for the VMKernel Nics for multiple hosts,</p>
<p>Listing the MTU for each VMKernel Nic</p>
<p><a href="http://virtu-al.net/images/Altering-VMKernel-NIC-MTU_D71C/image.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" alt="image" src="http://virtu-al.net/images/Altering-VMKernel-NIC-MTU_D71C/image_thumb.png"  width="640" height="131" border="0" /></a></p>
<p>Setting the MTU to 9000 for each VMKernel Nic</p>
<p><a href="http://virtu-al.net/images/Altering-VMKernel-NIC-MTU_D71C/image_3.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" alt="image" src="http://virtu-al.net/images/Altering-VMKernel-NIC-MTU_D71C/image_thumb_3.png"  width="640" height="153" border="0" /></a></p>
<p>The Code</p>
<p>Listing the MTU for each VMKernel Nic</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost | Get-VMHostNetworkAdapter | Where { $_.GetType().Name -eq &quot;HostVMKernelVirtualNicImpl&quot; } | Select VMHost, Name, MTU</pre>
<p>Or an even easier way of doing this (but you cant expand it to change the MTU easily is:</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost | Get-VMHostNetwork | Select -ExpandProperty VirtualNic | Select VMHost, Name, MTU</pre>
<p>Setting the MTU to 9000 for each VMKernel Nic</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost | Get-VMHostNetworkAdapter | Where { $_.GetType().Name -eq &quot;HostVMKernelVirtualNicImpl&quot; } | Foreach { $_ | Set-VMHostNetworkAdapter -Mtu 9000 -Confirm:$false }</pre>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/05/24/altering-vmkernel-nic-mtu-with-powercli/">Altering VMKernel NIC MTU with 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/2013/05/24/altering-vmkernel-nic-mtu-with-powercli/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PowerShell Summit–My recorded sessions</title>
		<link>http://www.virtu-al.net/2013/05/07/powershell-summitmy-recorded-sessions/</link>
		<comments>http://www.virtu-al.net/2013/05/07/powershell-summitmy-recorded-sessions/#comments</comments>
		<pubDate>Tue, 07 May 2013 19:18:16 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2755</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2755&c=205744926' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2755&c=205744926' border='0' alt='' /></a></p><br />Recently I was lucky enough to attend the PowerShell Summit at Microsoft HQ in Redmond, this was an awesome event which was focused on PowerShell, it included not only people who are using PowerShell but also some of the people who wrote and designed it. There were a bunch of great sessions, all of which [...]<p><a href="http://www.virtu-al.net/2013/05/07/powershell-summitmy-recorded-sessions/">PowerShell Summit&ndash;My recorded sessions</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://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2755&c=988933211' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2755&c=988933211' border='0' alt='' /></a></p><br /><p><a href="http://virtu-al.net/images/PowerShell-Summit-Sessions_9784/image.png" class="gallery_colorbox"><img style="background-image: none; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; display: inline; padding-right: 0px; border: 0px;" title="image" alt="image" src="http://virtu-al.net/images/PowerShell-Summit-Sessions_9784/image_thumb.png"  width="176" height="161" align="right" border="0" /></a>Recently I was lucky enough to attend the PowerShell Summit at Microsoft HQ in Redmond, this was an awesome event which was focused on PowerShell, it included not only people who are using PowerShell but also some of the people who wrote and designed it.</p>
<p>There were a bunch of great sessions, <a href="http://powershell.org/wp/2013/04/22/summit-downloads/" target="_blank">all of which can be reviewed and slides downloaded here</a>.  I was also asked to present two sessions.  I have included the recordings for these sessions below.  Thanks to Aaron Hoover for recording these.</p>
<p>A couple of comments which I took away from the PowerShell Summit which really surprised me where:</p>
<ul>
<li>A number of people told me they had started out with PowerCLI and then worked back into PowerShell (much like myself).</li>
<li>I was surprised that 2/3 of the room when I presented were using VMware, after all this was a Microsoft Conference!</li>
</ul>
<p><span id="more-2755"></span></p>
<p>Overall, this was more of an informal conference which gave it a great feel and encouraged feedback and participation.  The format worked great and I suggest you book for next year as soon as the details are available on <a href="http://powershell.org/" target="_blank">PowerShell.org</a> to get your place early.</p>
<h2>Session 1</h2>
<h3>Practical PowerShell – Integration from bare metal to the cloud</h3>
<p>Joined by Eric Williams from Cisco I showed how PowerCLI and PowerTool can be used together to create some awesome scripts that take your infrastructure from bare metal to the cloud at the push of a button. As a side note, I may have overrun somewhat on this session so sorry for it being a little fast!</p>
<p><iframe src="http://www.youtube.com/embed/msHGx-mxWJA" height="315" width="420" allowfullscreen="allowfullscreen" frameborder="0"></iframe></p>
<h2>Session 2</h2>
<h3>Creating a complex and reusable HTML reporting structure</h3>
<p>This session shows how vCheck came to be, it also shows how to create your own version of vCheck in about 3 minutes to monitor anything with a PowerShell interface or PowerShell accessible API.</p>
<p><iframe src="http://www.youtube.com/embed/XsnE_OQGvdo" height="315" width="420" allowfullscreen="allowfullscreen" frameborder="0"></iframe></p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/05/07/powershell-summitmy-recorded-sessions/">PowerShell Summit&ndash;My recorded sessions</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/2013/05/07/powershell-summitmy-recorded-sessions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My VMworld 2013 Sessions</title>
		<link>http://www.virtu-al.net/2013/05/06/my-vmworld-sessions/</link>
		<comments>http://www.virtu-al.net/2013/05/06/my-vmworld-sessions/#comments</comments>
		<pubDate>Mon, 06 May 2013 16:19:07 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMWorld]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2735</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2735&c=826601915' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2735&c=826601915' border='0' alt='' /></a></p><br />This year there are some awesome sessions at VMworld, I think people are starting to realize the benefits of automation and how these can be achieved with VMware products.  I am looking forward to attending and hopefully presenting some great sessions at VMworld 2013. Today is the last day of voting so if you are [...]<p><a href="http://www.virtu-al.net/2013/05/06/my-vmworld-sessions/">My VMworld 2013 Sessions</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://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2735&c=627831629' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2735&c=627831629' border='0' alt='' /></a></p><br /><p><a href="http://virtu-al.net/images/758bb56ae944_8001/image_thumb1.png" class="gallery_colorbox"><img style="background-image: none; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; display: inline; padding-right: 0px; border-width: 0px;" title="image_thumb1" alt="image_thumb1" src="http://virtu-al.net/images/758bb56ae944_8001/image_thumb1_thumb.png"  width="240" height="136" align="right" border="0" /></a>This year there are some awesome sessions at VMworld, I think people are starting to realize the benefits of automation and how these can be achieved with VMware products.  I am looking forward to attending and hopefully presenting some great sessions at VMworld 2013.</p>
<p>Today is the last day of voting so if you are still looking through the session list and wondered what I had put forward this year then please find a list below, if these looks interesting to you then <a href="http://vmworld.com/cfp.jspa" target="_blank">please feel free to vote for it here!</a></p>
<p><span id="more-2735"></span>Thanks as always for your votes on my sessions.</p>
<table style="list-style-type: disc; border-collapse: collapse; line-height: normal; border-style: none;" width="100%" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 126pt; mso-width-source: userset; mso-width-alt: 6144;" width="168" />
<col style="width: 379pt; mso-width-source: userset; mso-width-alt: 18468;" width="505" /></colgroup>
<tbody>
<tr style="height: 15pt;">
<td class="xl71" style="border-left-width: 1pt; list-style-type: disc; border-top-color: windowtext; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; border-top-width: 1pt; background-color: white; border-left-color: windowtext;" width="168" height="20"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><strong>4944</strong></span></span></td>
<td class="xl72" style="list-style-type: disc; border-left-style: none; border-right-width: 1pt; border-top-color: windowtext; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; border-top-width: 1pt; background-color: white;" width="505"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><strong>PowerCLI Best Practices &#8211; A Deep Dive</strong></span></span></td>
</tr>
<tr style="height: 165.75pt;">
<td class="xl65" style="border-top-style: none; border-left-width: 1pt; list-style-type: disc; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: white; border-left-color: windowtext;" width="168" height="221"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;">Luc Dekens<span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><br />
</span></span>Alan Renouf</span></span></td>
<td class="xl66" style="border-top-style: none; list-style-type: disc; border-left-style: none; border-right-width: 1pt; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: white;" width="505"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;">In previous years Alan and Luc showed you some of their best practices and how to take PowerCLI one step further.<br />
This year they will dive deeper and show you some best practices you didn’t see coming. </span></span>- The Software Defined Datacenter<br />
- Taking on the MOB and winning<br />
- From vSwitch to vDS<br />
- Pimp your performance graphs<br />
- Common and Cool Community Questions<br />
&#8230;</td>
</tr>
<tr style="height: 15pt;">
<td class="xl73" style="border-left-width: 1pt; list-style-type: disc; border-top: medium none; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: #95b3d7; border-left-color: windowtext;" height="20"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">5479</span></span></td>
<td class="xl74" style="list-style-type: disc; border-left-style: none; border-top: medium none; border-right-width: 1pt; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: #95b3d7;"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">To the Cloud, with PowerCLI!</span></span></td>
</tr>
<tr style="height: 75.75pt;">
<td class="xl69" style="border-top-style: none; border-left-width: 1pt; list-style-type: disc; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: #95b3d7; border-left-color: windowtext;" width="168" height="101"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">Jake Robinson<br />
Alan Renouf</span></span></td>
<td class="xl70" style="border-top-style: none; list-style-type: disc; border-left-style: none; border-right-width: 1pt; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: #95b3d7;" width="505"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">PowerCLI has become one of the most powerful and easy to use tools in a vSphere admin’s arsenal. Since version 5.01 this also includes the ability to manage your workloads in the public cloud. This session will show you the power you have to manage workloads at any vCloud provider, see how easy it is to create, manage and report on your cloud workloads with PowerCLI</span></span></td>
</tr>
<tr style="height: 15pt;">
<td class="xl75" style="border-left-width: 1pt; list-style-type: disc; border-top: medium none; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: white; border-left-color: windowtext;" height="20"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><strong>4946</strong></span></span></td>
<td class="xl76" style="list-style-type: disc; border-left-style: none; border-top: medium none; border-right-width: 1pt; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: white;"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><strong>Leveraging Stateless ESXi in the Software Defined Data Center (SDDC)</strong></span></span></td>
</tr>
<tr style="height: 135.75pt;">
<td class="xl67" style="border-top-style: none; border-left-width: 1pt; list-style-type: disc; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: white; border-left-color: windowtext;" width="168" height="181"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;">Alan Renouf<br />
Kyle Gleed</span></span></td>
<td class="xl68" style="border-top-style: none; list-style-type: disc; border-left-style: none; border-right-width: 1pt; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: white;" width="505"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;">This session will provide architectural guidance for implementing stateless ESXi (i.e. Auto Deploy) in the SDDC. We&#8217;ll show how you can reduce both CAPEX and OPEX by adopting stateless ESXi to reduce storage costs and achieve agility and flexibility within the software-defined datacenter. This session includes guidance on how to implement a highly reliable and highly scalable auto deploy infrastructure, how to overcome common architectural limitations and how to eliminate single points of failure in order to achieve a highly resilient and elastic ESXi infrastructure within the Software Defined Data Center.</span></span></td>
</tr>
<tr style="height: 15pt;">
<td class="xl73" style="border-left-width: 1pt; list-style-type: disc; border-top: medium none; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: #95b3d7; border-left-color: windowtext;" height="20"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">5048</span></span></td>
<td class="xl74" style="list-style-type: disc; border-left-style: none; border-top: medium none; border-right-width: 1pt; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: #95b3d7;"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">Automating the Software Defined Data Center: How the #@$! Do I Get Started?</span></span></td>
</tr>
<tr style="height: 195.75pt;">
<td class="xl69" style="border-top-style: none; border-left-width: 1pt; list-style-type: disc; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: #95b3d7; border-left-color: windowtext;" width="168" height="261"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">Alan Renouf<br />
Thomas Corfmat</span></span></td>
<td class="xl70" style="border-top-style: none; list-style-type: disc; border-left-style: none; border-right-width: 1pt; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: #95b3d7;" width="505"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #ffffff;">Datacenter automation can be a pretty intimidating task. What should I automate? What product should I use? Just within the VMware product family, there are a number of automation/orchestration/integration solutions that sound like they could do the job. But which one is the right one? </span></span><span style="color: #ffffff;">This session will answer these questions by helping you understand how to approach datacenter automation based on specific criteria. It will also provide guidance on which automation product you should be using&#8230; and which ones to avoid.Finally, this session will offer you some practical tips to ensure that your automation journey is a successful one, and tell you where to find additional resources to get a deeper understanding of the described concepts.</span></td>
</tr>
<tr style="height: 15pt;">
<td class="xl75" style="border-left-width: 1pt; list-style-type: disc; border-top: medium none; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: white; border-left-color: windowtext;" height="20"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><strong>4818</strong></span></span></td>
<td class="xl76" style="list-style-type: disc; border-left-style: none; border-top: medium none; border-right-width: 1pt; vertical-align: bottom; border-bottom-style: none; padding-bottom: 0px; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: white;"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;"><strong>The Software Defined Datacenter Panel</strong></span></span></td>
</tr>
<tr style="height: 105.75pt;">
<td class="xl67" style="border-top-style: none; border-left-width: 1pt; list-style-type: disc; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; border-right-style: none; padding-left: 1px; padding-right: 1px; background-color: white; border-left-color: windowtext;" width="168" height="141"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;">Kamau Wanguhu<br />
William Lam<br />
Duncan Epping<br />
Cormac Hogan<br />
Alan Renouf &#8211; Moderator</span></span></td>
<td class="xl68" style="border-top-style: none; list-style-type: disc; border-left-style: none; border-right-width: 1pt; vertical-align: bottom; border-bottom-width: 1pt; padding-bottom: 0px; border-bottom-color: windowtext; padding-top: 1px; padding-left: 1px; border-right-color: windowtext; padding-right: 1px; background-color: white;" width="505"><span style="font-family: calibri;"><span style="font-size: 11pt; color: #000000;">In this panel session you will be able to ask any question related to the Software Defined Datacenter. The panel is comprised of industry recognized experts on Software Defined <span style="color: #000000;">Networking / Storage / Compute and of course Orchestration and Automation. </span></span></span><span style="color: #000000;">With 3 of the top 10 bloggers as voted by the VMware community, and two VCDXs, this session is a must-attend! Do not miss out.</span></td>
</tr>
</tbody>
</table>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/05/06/my-vmworld-sessions/">My VMworld 2013 Sessions</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/2013/05/06/my-vmworld-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gathering simple pool information from VMware View</title>
		<link>http://www.virtu-al.net/2013/03/22/gathering-simple-pool-information-from-vmware-view/</link>
		<comments>http://www.virtu-al.net/2013/03/22/gathering-simple-pool-information-from-vmware-view/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 22:03:20 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[View]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2726</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2726&c=943481655' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2726&c=943481655' border='0' alt='' /></a></p><br />Recently I was asked if we could list some basic information from VMware View using the cmdlets which come installed on the View Administrator server, the request was specifically a list of VMs and the pool they were in, this was easily achieved with the Get-DesktopVM cmdlet as below: Secondly they were after a list [...]<p><a href="http://www.virtu-al.net/2013/03/22/gathering-simple-pool-information-from-vmware-view/">Gathering simple pool information from VMware View</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://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2726&c=944425112' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2726&c=944425112' border='0' alt='' /></a></p><br /><p>Recently I was asked if we could list some basic information from VMware View using the cmdlets which come installed on the View Administrator server, the request was specifically a list of VMs and the pool they were in, this was easily achieved with the Get-DesktopVM cmdlet as below:</p>
<pre class="brush: powershell; title: ; notranslate">Get-DesktopVM | Select Name, Pool_id | Sort Pool_id</pre>
<p><a href="http://virtu-al.net/images/Gathering-simple-pool-information-from-V_D235/image.png"><span id="more-2726"></span><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" alt="" src="http://virtu-al.net/images/Gathering-simple-pool-information-from-V_D235/image_thumb.png" width="667" height="329" border="0" /></a></p>
<p>Secondly they were after a list of pools and the number of VMs which were part of these pools, these can be found using a calculated property and a combination of the Get-Pool and Get-DesktopVM cmdlets as below:</p>
<pre class="brush: powershell; title: ; notranslate">Get-Pool | Select Pool_id, @{Name=&quot;NumVM&quot;;Expression={($_ | Get-DesktopVM).Count}}</pre>
<p><a href="http://virtu-al.net/images/Gathering-simple-pool-information-from-V_D235/image_3.png" class="gallery_colorbox"><img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" alt="" src="http://virtu-al.net/images/Gathering-simple-pool-information-from-V_D235/image_thumb_3.png"  width="671" height="329" border="0" /></a></p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/03/22/gathering-simple-pool-information-from-vmware-view/">Gathering simple pool information from VMware View</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/2013/03/22/gathering-simple-pool-information-from-vmware-view/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automating storage with NetApp Workflow Automation</title>
		<link>http://www.virtu-al.net/2013/03/12/automating-storage-with-netapp-workflow-automation/</link>
		<comments>http://www.virtu-al.net/2013/03/12/automating-storage-with-netapp-workflow-automation/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 21:55:41 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[vCloud Director]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.virtu-al.net/?p=2716</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2716&c=377408928' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2716&c=377408928' border='0' alt='' /></a></p><br />Do you wish you could automate your NetApp Storage infrastructure? Do you wish your storage admins could give an easy to use custom interface to other areas of the business allowing them to provision or use storage however they need whilst still applying best practice and corporate policies to the configuration? Do you wish you [...]<p><a href="http://www.virtu-al.net/2013/03/12/automating-storage-with-netapp-workflow-automation/">Automating storage with NetApp Workflow Automation</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://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2716&c=1468561199' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2716&c=1468561199' border='0' alt='' /></a></p><br /><p>Do you wish you could automate your NetApp Storage infrastructure?</p>
<p>Do you wish your storage admins could give an easy to use custom interface to other areas of the business allowing them to provision or use storage however they need whilst still applying best practice and corporate policies to the configuration?</p>
<p><span id="more-2716"></span>Do you wish you could do all this at <b>no cost</b> to NetApp customers? If the answer is yes then keep reading.</p>
<p><a href="http://virtu-al.net/images/Net_D329/clip_image001.png" class="gallery_colorbox"><img style="background-image: none; margin: 0px 0px 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border: 0px;" alt="" src="http://virtu-al.net/images/Net_D329/clip_image001_thumb.png"  width="337" height="382" align="right" border="0" /></a>Recently I was lucky enough to get a demo of NetApp Workflow Automation (WFA) from one of the automation experts at NetApp, to be honest, before this conversation I was only aware of the <a href="https://communities.netapp.com/community/products_and_solutions/microsoft/powershell" target="_blank">NetApp PowerShell snap-in</a> and didn’t know they had a tool which could take PowerShell to the next level.</p>
<p>Workflow Automation is NetApp&#8217;s latest storage automation product. The goal for WFA is to make the NetApp storage management processes simple and easy. Storage experts can easily define common storage management processes, and make them available for execution by approved users. Storage teams can also achieve end-to-end automation through integration with orchestration engines into other products such as VMware vSphere or VMware vCloud Director.</p>
<p>Essentially you can take your current storage processes for provisioning, migration or decommissioning and automate them using an easy to use graphical interface to a powerful PowerShell back end.</p>
<p>Once they are created you can assign roles to other areas of your company, like VMware admins and present them with a web interface to a simple click through wizard to run the workflow. WFA also includes multiple ways to retrieve data from existing systems like helpdesk or CMDB system.</p>
<h2>vSphere/vCloud Director Integration</h2>
<p>Imagine being able to give the vSphere admins the ability to carve up their own storage based around the storage admins guidelines, a simple interface to launch this process that not only sets up the storage platform but also goes into vSphere and adds it to each host in the cluster or even takes it up to vCloud Director.</p>
<p>Pre-Built workflows are available to show how to work with vSphere as shown below (<a href="https://communities.netapp.com/docs/DOC-22070">download here</a>) :</p>
<p><a href="http://virtu-al.net/images/Net_D329/Screen-shot-2013-03-12-at-5.19.30-PM.png" class="gallery_colorbox"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="" src="http://virtu-al.net/images/Net_D329/Screen-shot-2013-03-12-at-5.19.30-PM_thumb.png"  width="1053" height="237" border="0" /></a></p>
<p>An example screen of one of the workflows running is below:</p>
<p><a href="http://virtu-al.net/images/Net_D329/Screen-shot-2013-03-12-at-5.21.51-PM.png" class="gallery_colorbox"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" alt="" src="http://virtu-al.net/images/Net_D329/Screen-shot-2013-03-12-at-5.21.51-PM_thumb.png"  width="476" height="480" border="0" /></a></p>
<p>And also now for VMware vCloud Director: (<a href="https://communities.netapp.com/docs/DOC-22918">download here</a>)</p>
<p><a href="http://virtu-al.net/images/Net_D329/Screen-shot-2013-03-12-at-5.19.14-PM.png" class="gallery_colorbox"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="" src="http://virtu-al.net/images/Net_D329/Screen-shot-2013-03-12-at-5.19.14-PM_thumb.png"  width="1061" height="244" border="0" /></a></p>
<p>Of course one of my initial questions was, how does this fit in with VMware Orchestrator (vCO)? The answer is that WFA already has an API and can be called by any product wanting to use one of the workflows, this makes tying into vCO very easy.</p>
<h2>Where can I get more information?</h2>
<p>NetApp have produced some great video’s <a href="https://communities.netapp.com/docs/DOC-22108">here,</a> and it looks like more will appear in the future.</p>
<p>The WFA product brief can be <a href="https://communities.netapp.com/docs/DOC-11606">viewed here</a>.</p>
<p>Blog posts, articles, sample code and workflows, download links and more can be found on the product home page here: <a href="https://communities.netapp.com/community/products_and_solutions/storage_management_software/workflow-automation">https://communities.netapp.com/community/products_and_solutions/storage_management_software/workflow-automation</a></p>
<p>Awesome blog on WFA (bookmark it): <a title="http://www.virtpirate.com/blog/" href="http://www.virtpirate.com/blog/">http://www.virtpirate.com/blog/</a> written by <a href="https://twitter.com/virtpirate" target="_blank">@virtpirate</a> (follow him)</p>
<p>If you have NetApp storage make sure you check out the product which again is free to NetApp customers.</p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/03/12/automating-storage-with-netapp-workflow-automation/">Automating storage with NetApp Workflow Automation</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/2013/03/12/automating-storage-with-netapp-workflow-automation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Relating vCloud Director to vCenter in PowerCLI</title>
		<link>http://www.virtu-al.net/2013/03/08/relating-vcloud-director-to-vcenter-in-powercli/</link>
		<comments>http://www.virtu-al.net/2013/03/08/relating-vcloud-director-to-vcenter-in-powercli/#comments</comments>
		<pubDate>Fri, 08 Mar 2013 16:28:49 +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=2713</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2713&c=2045715199' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2713&c=2045715199' border='0' alt='' /></a></p><br />I was listening to episode 216 of the PowerScripting Podcast recently, Hal and Jonathan were talking to vCloud Director (vCD) expert Jake Robinson and “meeting expert” (listen it will make sense) Damian Karlson, it was a great show, very funny and I highly recommend you listen here: http://powerscripting.wordpress.com/2013/02/26/episode-216-jake-robinson-and-damian-karlson-talk-powercli/ Anyway, they were talking about relating vCD [...]<p><a href="http://www.virtu-al.net/2013/03/08/relating-vcloud-director-to-vcenter-in-powercli/">Relating vCloud Director to vCenter in 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><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2713&c=584403733' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2713&c=584403733' border='0' alt='' /></a></p><br /><p>I was listening to <a href="http://powerscripting.wordpress.com/2013/02/26/episode-216-jake-robinson-and-damian-karlson-talk-powercli/" target="_blank">episode 216</a> of the PowerScripting Podcast recently, Hal and Jonathan were talking to vCloud Director (vCD) expert Jake Robinson and “meeting expert” (listen it will make sense) Damian Karlson, it was a great show, very funny and I highly recommend you listen here: <a title="http://powerscripting.wordpress.com/2013/02/26/episode-216-jake-robinson-and-damian-karlson-talk-powercli/" href="http://powerscripting.wordpress.com/2013/02/26/episode-216-jake-robinson-and-damian-karlson-talk-powercli/">http://powerscripting.wordpress.com/2013/02/26/episode-216-jake-robinson-and-damian-karlson-talk-powercli/</a></p>
<p>Anyway, they were talking about relating vCD objects to vCenter objects, on the show they said it couldn’t be done without matching an ID and writing a custom function, this used to be the case but now I wanted to show a few cool things from PowerCLI which allows us to use a parameter called –RelatedObject to take away all the hard work from the matching IDs, Datastore IDs, Network IDs etc.<span id="more-2713"></span></p>
<h2>Word of warning!</h2>
<p>Just so you are aware, whilst VMware do provide a method for relating objects between vCD and vSphere go careful where you use it, whilst you would theoretically be able to get a cloud VM and relate this to a vSphere VM and then go on in your script to alter the VM or do some other kind of action on it I would not do this.  vCD needs to know about the changes you make or you may get strange unsupported results.  Generally I would stick to using this for cool reporting scripts.</p>
<h1>RelatedObject Parameter</h1>
<p>With the RelatedObject parameter on some of the PowerCLI cmdlets, you can retrieve vSphere inventory objects and <a name="PRODUCTNAME_C19028E1D13A4A03995CD05D29E77021"></a>vSphere PowerCLI view objects from cloud resources, what&#8217;s more is that we even let you pipeline these cmdlets together to get the results. The use of these cmdlets allowing you to relate the information between the two applications allows for automation, reporting, and troubleshooting options for provider administrators and gives us an easy way to retrieve data from both applications in the same interface.  Exactly what PowerShell was designed for!</p>
<p>The list of cmdlets which you can use with this parameter can be seen below, you will also notice that this parameter exists in the VMware Distributed Switch snapin as well:</p>
<p><a href="http://virtu-al.net/images/74eb79a6ca4f_CB5D/image.png" class="gallery_colorbox"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="http://virtu-al.net/images/74eb79a6ca4f_CB5D/image_thumb.png"  width="845" height="377" border="0" /></a></p>
<p>Of course for these to work you will need to connect to vCenter with the Connect-VIServer cmdlet and in the same session connect to the vCloud Director session with Connect-CIServer, bear in mind that you may have multiple vCenters backing your vCD environment so a connection will need to be made to all of these.</p>
<h3>Retrieving vSphere Objects from vCloud Director Resources</h3>
<p>Provider administrators can use the RelatedObject parameter of vSphere PowerCLI cmdlets to retrieve vSphere inventory objects from vCloud Director objects. Passing the retrieved objects to the cmdlets of the VMware.VimAutomation.Core and VMware.VimAutomation.VDS snap-ins easily allows for the related object to be returned.</p>
<p>The following table shows which objects are currently supported:</p>
<table width="651" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="93"><strong>Cloud Object </strong></td>
<td valign="top" width="121"><strong>Retrieved vSphere Inventory Object</strong></td>
<td valign="top" width="435"><strong>Example code</strong></td>
</tr>
<tr>
<td valign="top" width="93">ProviderVdc</td>
<td valign="top" width="121">Datastore</td>
<td valign="top" width="435">Get-ProviderVdc -Name &#8216;MyProviderVdc&#8217; | <a name="GUID-5EA93DA9-B56B-46EB-97F1-5E325A246AF5__CMDNAME_C3113FB498EF4310B4E7A078719C3B66"></a>Get-Datastore</td>
</tr>
<tr>
<td valign="top" width="93">CIVM</td>
<td valign="top" width="121">VirtualMachine</td>
<td valign="top" width="435">Get-CIVM -Name &#8216;MyCloudVM&#8217; | <a name="GUID-5EA93DA9-B56B-46EB-97F1-5E325A246AF5__CMDNAME_BE1E21612C8D469B9508828C053D41F9"></a>Get-VM</td>
</tr>
<tr>
<td valign="top" width="93">NetworkPool</td>
<td valign="top" width="121">VDSwitch</td>
<td valign="top" width="435">Get-NetworkPool -Name &#8216;MyNetworkPool&#8217; | <a name="GUID-5EA93DA9-B56B-46EB-97F1-5E325A246AF5__CMDNAME_0D1098E4BB214069894FBE22E132BDF3"></a>Get-VDSwitch</td>
</tr>
<tr>
<td valign="top" width="93">NetworkPool</td>
<td valign="top" width="121">VDPortgroup</td>
<td valign="top" width="435">Get-NetworkPool -Name &#8216;MyNetworkPool&#8217; | <a name="GUID-5EA93DA9-B56B-46EB-97F1-5E325A246AF5__CMDNAME_84390265BEB44112AA65D981D438B291"></a>Get-VDPortGroup</td>
</tr>
<tr>
<td valign="top" width="93">ExternalNetwork</td>
<td valign="top" width="121">VDPortgroup</td>
<td valign="top" width="435">Get-ExternalNetwork -Name &#8216;MyExternalNetwork&#8217; | Get-VDPortGroup</td>
</tr>
</tbody>
</table>
<p>Here is an example of this working:</p>
<p><a href="http://virtu-al.net/images/74eb79a6ca4f_CB5D/image_3.png" class="gallery_colorbox"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Get-CIVM | Get-VM" alt="Get-CIVM | Get-VM" src="http://virtu-al.net/images/74eb79a6ca4f_CB5D/image_thumb_3.png"  width="747" height="432" border="0" /></a></p>
<h3>Retrieving <a name="PRODUCTNAME_C19028E1D13A4A03995CD05D29E77021"></a>vSphere Views from <a name="PRODUCTNAME_BB0EA0FAB32E465A97B3EB78E06AC4A4"></a>vCloud Director Views</h3>
<p>For the administrators with advanced knowledge and understanding of .NET Framework, <a name="PRODUCTNAME_C19028E1D13A4A03995CD05D29E77021"></a>vSphere PowerCLI, PowerShell scripting, and vSphere and vCloud APIs or if you are familiar with using the Get-View Cmdlet and Get-CIView Cmdlet you can retrieve <a name="PRODUCTNAME_C19028E1D13A4A03995CD05D29E77021"></a>vSphere PowerCLI views from <a name="PRODUCTNAME_BB0EA0FAB32E465A97B3EB78E06AC4A4"></a>vCloud Director PowerCLI views with the <a name="CMDNAME_4697FB540F6F4E96B335BFB9C4D836CC"></a>Get-CIView and <a name="CMDNAME_C3C0FC0FD80846F18FE3BBCFA08433F1"></a>Get-View cmdlets.</p>
<p>The following table shows which supported vSphere views you can retrieve from views:</p>
<table width="400" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="133"><strong>vCloud Director view object</strong></td>
<td valign="top" width="133"><strong>vSphere view object</strong></td>
<td valign="top" width="133"><strong>Example code</strong></td>
</tr>
<tr>
<td valign="top" width="133">VMWExternalNetwork</td>
<td valign="top" width="133">DistributedVirtualPortGroup</td>
<td valign="top" width="133">Get-ExternalNetwork -Name &#8216;MyExternalNetwork&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_B7237989B87A485AB9F5BA600BF6776D"></a>Get-CIView | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_4CA3FCD23D374906B575C1479F1CBB72"></a>Get-View</td>
</tr>
<tr>
<td valign="top" width="133">VLanPool</td>
<td valign="top" width="133">DistributedVirtualSwitch</td>
<td valign="top" width="133">Get-NetworkPool -Name &#8216;MyVlanPool&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_79CC7C799DA74DC59B5A6F16C558DF2E"></a>Get-CIView | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_3C4BF6DC1E7249FEA47B316F8D43CE60"></a>Get-View</td>
</tr>
<tr>
<td valign="top" width="133">FencePool</td>
<td valign="top" width="133">DistributedVirtualSwitch</td>
<td valign="top" width="133">Get-NetworkPool -Name &#8216;MyFencePool&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_BDF8F1A8EF1240AAA6151CE4849F74FF"></a>Get-CIView | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_3F60B86F6B0C4C7BA19199B7E276542E"></a>Get-View</td>
</tr>
<tr>
<td valign="top" width="133">VimServer</td>
<td valign="top" width="133">ServiceInstance</td>
<td valign="top" width="133">$providerVdcView = <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_254179BB4DAB426D9A3834297D4EAC22"></a>Get-ProviderVdc -Name &#8216;MyProviderVdc&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_FE9EAA1CD09843B582E742E547AF89AD"></a>Get-CIView<a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_2FCDF4F6085647CD871A0333011C6630"></a>Get-CIView -Id $providerVdcView.VimServer[0].Href | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_263BC2427E574F1F9A7553911A4467AC"></a>Get-View</td>
</tr>
<tr>
<td valign="top" width="133">VMWProviderVdcResourcePool</td>
<td valign="top" width="133">ResourcePool</td>
<td valign="top" width="133">$providerVdcView = <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_3804D0176F2E4E919F927D23DA35351C"></a>Get-ProviderVdc -Name &#8216;MyProviderVdc&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_4F4CF2DDEBE84416AC574E53DAF5DA6C"></a>Get-CIView $resourcePoolSet = $providerVdcView.GetResourcePools() $resourcePoolSet.VMWProviderVdcResourcePool | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_0415C981232E4258B68ABEFEB738C4FC"></a>Get-View</td>
</tr>
<tr>
<td valign="top" width="133">Datastore</td>
<td valign="top" width="133">Datastore</td>
<td valign="top" width="133">Get-CIDatastore -Name &#8216;MyDatastore&#8217; -ProviderVdc &#8216;MyProviderVdc&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_3F3BA70B9E7941839544F429FCF258A2"></a>Get-CIView | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_F71D75D4DCD54EFAB6A37A3FE27A02DC"></a>Get-View</td>
</tr>
<tr>
<td valign="top" width="133">CIVM</td>
<td valign="top" width="133">VirtualMachine</td>
<td valign="top" width="133">Get-CIVM -Name &#8216;MyVM&#8217; | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_54B2F0C9520447F2B38D23A73328C9DF"></a>Get-CIView | <a name="GUID-868EBA50-2AB2-4FA1-A76D-365BE24E2A2C__CMDNAME_2154578BEF414048A2E31266B394D6F5"></a>Get-View</td>
</tr>
</tbody>
</table>
<p>Here are a few examples of this working:</p>
<p><a href="http://virtu-al.net/images/74eb79a6ca4f_CB5D/image_4.png" class="gallery_colorbox"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Get-View Example" alt="Get-View Example" src="http://virtu-al.net/images/74eb79a6ca4f_CB5D/image_thumb_4.png"  width="711" height="671" border="0" /></a></p>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/03/08/relating-vcloud-director-to-vcenter-in-powercli/">Relating vCloud Director to vCenter in 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/2013/03/08/relating-vcloud-director-to-vcenter-in-powercli/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PowerCLI 5.1 R2 Released</title>
		<link>http://www.virtu-al.net/2013/02/11/powercli-5-1-r2-released/</link>
		<comments>http://www.virtu-al.net/2013/02/11/powercli-5-1-r2-released/#comments</comments>
		<pubDate>Mon, 11 Feb 2013 20:03:41 +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=2700</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2700&c=1278332456' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2700&c=1278332456' border='0' alt='' /></a></p><br />VMware have just released PowerCLI 5.1 R2 and with it are the long awaiting cmdlets to work with VDS! I worked with these a little and although VDS are not 100% fully covered in this release the cmdlets are certainly useful for most of the things I needed to do and they opened up VDS [...]<p><a href="http://www.virtu-al.net/2013/02/11/powercli-5-1-r2-released/">PowerCLI 5.1 R2 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><a href='http://rss.buysellads.com/click.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2700&c=1781002734' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1284484&k=2e28b5124803e2cf58fff66453c3c799&a=2700&c=1781002734' border='0' alt='' /></a></p><br /><p><a href="http://virtu-al.net/images/PowerCLI-5.1-R2-Released_A724/SNAGHTMLad50d1.png" class="gallery_colorbox"><img style="background-image: none; margin: 0px 0px 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border-width: 0px;" title="PowerCLIVersion" alt="PowerCLIVersion" src="http://virtu-al.net/images/PowerCLI-5.1-R2-Released_A724/SNAGHTMLad50d1_thumb.png"  width="379" height="229" align="right" border="0" /></a>VMware have <a href="http://blogs.vmware.com/vipowershell/2013/02/powercli-5-1-release-2-now-available.html" target="_blank">just released PowerCLI 5.1 R2</a> and with it are the long awaiting cmdlets to work with VDS!</p>
<p>I worked with these a little and although VDS are not 100% fully covered in this release the cmdlets are certainly useful for most of the things I needed to do and they opened up VDS with the .extensiondata property for the rest of the things I wanted to play with.</p>
<p>Two of the cooler cmdlets where the Export-VDSwitch and New-VDSwitch –backupfile which can be used with 5.1 and the new VDS features to backup the VDS into a simple zip file and re-import it when needed.</p>
<p>I have included the new cmdlets and some examples from the help file below.</p>
<p>As well as the VDS cmdlets I am also happy that VMware now supports PowerShell v3 and vCloud Director 5.1 in both their admin version of PowerCLI and their Tenant version, this opens up vCD to automate some of the cooler new features of VCD and also enable the enhancements made by Microsoft in PowerShell v3.</p>
<p><a href="http://blogs.vmware.com/vipowershell/2013/02/powercli-5-1-release-2-now-available.html" target="_blank">Download it now.<span id="more-2700"></span></a></p>
<h2>VDS Cmdlets and their examples</h2>
<h3><span style="text-decoration: underline;">Get-VDSCommand</span></h3>
<p>Lists all the PowerCLI cmdlets available for VDS</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSCommand</pre>
<h3><span style="text-decoration: underline;">Add-VDSwitchPhysicalNetworkAdapter</span></h3>
<p>Retrieves the specified physical network adapter from the specified host and adds it to the specified distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">$vmhostNetworkAdapter = Get-VMHost &quot;MyVMHost&quot; | Get-VMHostNetworkAdapter -Physical -Name vmnic2
Get-VDSwitch &quot;MyVDSwitch&quot; | Add-VDSwitchPhysicalNetworkAdapter -VMHostNetworkAdapter $vmhostNetworkAdapter</pre>
<h3><span style="text-decoration: underline;">Add-VDSwitchVMHost</span></h3>
<p>Adds two hosts to the specified distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyDistributedSwitch&quot; | Add-VDSwitchVMHost -VMHost &quot;VMHost1&quot;, &quot;VMHost2&quot;</pre>
<h3><span style="text-decoration: underline;">Export-VDPortGroup</span></h3>
<p>Exports the configuration of the specified port group to the specified file.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortGroup -Name 'MyVDPortGroup' | Export-VDPortGroup -Destination 'C:\MyVDSwitchesBackup\MyVDPortGroup_21122012.zip'</pre>
<p>Exports the configuration of the specified port group to the specified file. If the MyVDSwitchesBackup directory does not exist, it is created. If the MyVDPortGroupBackup.zip file already exists in the specified location, it is overwritten.</p>
<pre class="brush: powershell; title: ; notranslate">$myPortGroup = Get-VDPortGroup -Name 'MyVDPortGroup'
Export-VDPortGroup -VDPortGroup $myPortGroup -Destination 'C:\MyVDSwitchesBackup\MyVDPortGroupBackup.zip' -Force</pre>
<h3><span style="text-decoration: underline;">Export-VDSwitch</span></h3>
<p>Exports the configuration of the specified vSphere distributed switch and its port groups to the specified file.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name 'MyVDSwitch' | Export-VDSwitch -Description &quot;My VDSwitch configuration&quot; -Location &quot;c:\myVDSwitchConfig.zip&quot;</pre>
<p>Exports the configuration of the specified vSphere distributed switch and its port groups to the specified file. If the myVDSwitchConfig.zip file already exists, it is overwritten.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name 'MyVDSwitch' | Export-VDSwitch -Description &quot;My VDSwitch configuration&quot; -Location &quot;c:\myVDSwitchConfig.zip&quot; -WithoutPortGroups -Force</pre>
<h3><span style="text-decoration: underline;">Get-VDPortgroup</span></h3>
<p>Retrieves the distributed port group named &#8220;MyVDPortGroup&#8221; on the specified vSphere distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortGroup -Name &quot;MyVDPortGroup&quot; -VDSwitch &quot;MyVDSwitch&quot;</pre>
<p>Retrieves the distributed port groups that are related to the specified organization network in the cloud.</p>
<pre class="brush: powershell; title: ; notranslate">Get-OrgNetwork -Name &quot;MyOrgNetwork&quot; | Get-VDPortGroup</pre>
<p>Retrieves the distributed port group to which the specified virtual machine network adapter is connected.</p>
<pre class="brush: powershell; title: ; notranslate">Get-NetworkAdapter -Name &quot;MyVMNetworkAdapter&quot; | Get-VDPortGroup</pre>
<h3><span style="text-decoration: underline;">Get-VDSwitch</span></h3>
<p>Retrieves all vSphere distributed switches in the specified datacenter.</p>
<pre class="brush: powershell; title: ; notranslate">Get-Datacenter -Name MyDatacenter | Get-VDSwitch</pre>
<p>Retrieves all vSphere distributed switches to which the specified host is added.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost -Name MyVMHost | Get-VDSwitch</pre>
<p>Retrieves all vSphere distributed switches to which the specified virtual machine is connected.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VM -Name MyVM | Get-VDSwitch</pre>
<h3><span style="text-decoration: underline;">New-VDPortgroup</span></h3>
<p>Creates a new distributed port group on the specified vSphere distributed switch with the specified number of ports and VLAN ID.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyVDSwitch&quot; | New-VDPortgroup -Name &quot;MyVDPortGroup&quot; -NumPorts 8 -VLanId 4</pre>
<p>Creates a new distributed port group on the specified vSphere distributed switch by cloning the configuration of the distributed port group named &#8220;MyReferencePortGroup&#8221;.</p>
<pre class="brush: powershell; title: ; notranslate">$myReferncePortroup = Get-VDPortgroup -Name &quot;MyReferencePortGroup&quot;
Get-VDSwitch -Name &quot;MyVDSwitch&quot; | New-VDPortgroup -Name &quot;MyVDPortGroup&quot; -ReferencePortgroup $myReferncePortroup</pre>
<p>Creates asynchronously a new distributed port group on the specified vSphere distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyVDSwitch&quot; | New-VDPortgroup -Name &quot;MyVDPortGroup&quot; -RunAsync</pre>
<p>Creates a new distributed port group on the specified vSphere distributed switch by importing the specified backup profile.</p>
<pre class="brush: powershell; title: ; notranslate">$myBackupFilePath = 'c:\Backup.zip'
Get-VDSwitch -Name &quot;MyVDSwitch&quot; | New-VDPortgroup -Name &quot;MyVDPortgroup&quot; -BakupPath $myBackupFilePath</pre>
<p>Creates a new distributed port group on the specified vSphere distributed switch with the specified name and VLAN trunk range settings.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyVDSwitch&quot; | New-VDPortgroup -Name &quot;MyVDPortGroup&quot; -VlanTrunkRange &quot;1-5, 10-20&quot;</pre>
<h3><span style="text-decoration: underline;">New-VDSwitch</span></h3>
<p>Creates a new vSphere distributed switch with the specified name, version, maximum number of ports, and link discovery protocol settings in the specified datacenter.</p>
<pre class="brush: powershell; title: ; notranslate">$myDatacenter = Get-Datacenter -Name &quot;MyDatacenter&quot;
New-VDSwitch -Name &quot;MyVDSwitch&quot; -Location $myDatacenter -LinkDiscoveryProtocol &quot;LLDP&quot; -LinkDiscoveryProtocolOperation &quot;Listen&quot; -MaxPorts 256 -Version &quot;5.0.0&quot;</pre>
<p>Creates a new vSphere distributed switch by cloning the configuration of the existing distributed switch named &#8220;MyReferenceSwitch&#8221;. The new distributed switch is created without cloning the existing port groups and is stored in the specified folder.</p>
<pre class="brush: powershell; title: ; notranslate">$myFolder = Get-Folder -Name &quot;MyFolder&quot;
Get-VDSwitch -Name &quot;MyReferenceSwitch&quot; | New-VDSwitch -Name &quot;MyVDSwitch&quot; -Location $myFolder -WithoutPortGroups</pre>
<p>Creates a new vSphere distributed switch by importing the specified backup profile.</p>
<pre class="brush: powershell; title: ; notranslate">$myFolder = Get-Folder -Name &quot;MyFolder&quot;
New-VDSwitch -Name &quot;MyVDSwitch&quot; -Location $myFolder -WithoutPortGroups -BackupPath &quot;c:\MyDistributedSwitchProfile.zip&quot;</pre>
<h3><span style="text-decoration: underline;">Remove-VDPortGroup</span></h3>
<p>Removes the specified distributed port group from the vSphere distributed switch that it belongs to.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortGroup -Name &quot;MyVDPortGroup&quot; | Remove-VDPortGroup</pre>
<h3><span style="text-decoration: underline;">Remove-VDSwitch</span></h3>
<p>Removes the specified distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name MyVDSwitch | Remove-VDSwitch</pre>
<h3><span style="text-decoration: underline;">Remove-VDSwitchPhysicalNetworkAdapter</span></h3>
<p>Removes the specified host physical network adapter from the distributed switch that it is connected to.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMhost -Name &quot;MyVMhost&quot; | Get-VMHostNetworkAdapter -Physical -Name vmnic0 | Remove-VDSwitchPhysicalNetworkAdapter</pre>
<h3><span style="text-decoration: underline;">Remove-VDSwitchVMHost</span></h3>
<p>Removes two hosts from the specified distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MySwitch&quot; | Remove-VDSwitchVMHost -VMHost &quot;VMHost1&quot;, &quot;VMHost2&quot;</pre>
<h3><span style="text-decoration: underline;">Set-VDPortgroup</span></h3>
<p>Changes the name, number of ports and the VLAN ID of all distributed port groups named &#8220;MyVDPortGroup&#8221;.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortgroup -Name &quot;MyVDPortGroup&quot; | Set-VDPortgroup -Name &quot;MyNewVDPortGroupName&quot; -NumPorts 5 -VlanId 4</pre>
<p>Changes the VLAN trunk range of all distributed port groups named &#8220;MyVDPortGroup&#8221;.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortgroup -Name &quot;MyVDPortGroup&quot; | Set-VDPortgroup -VlanTrunkRange &quot;1-5, 8-10&quot;</pre>
<p>Sets the VLAN type of the specified distributed port group to None.</p>
<pre class="brush: powershell; title: ; notranslate">$myVDPortgroup = Get-VDPortgroup -Name &quot;MyVDPortGroup&quot; -VDSwitch &quot;MyVDSwitch&quot;
Set-VDPortgroup -VDPortgroup $myVDPortgroup -DisableVlan</pre>
<p>Rollbacks the configuration of all distributed port groups named &#8220;MyVDPortGroup&#8221;.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortgroup -Name &quot;MyVDPortGroup&quot; | Set-VDPortgroup -RollbackConfiguration</pre>
<p>Reconfigures all distributed port groups named &#8220;MyVDPortGroup&#8221; by importing the configuration from the specified backup profile.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDPortgroup -Name &quot;MyVDPortGroup&quot; | Set-VDPortgroup -BackupPath 'c:\backup.zip'</pre>
<h3><span style="text-decoration: underline;">Set-VDSwitch</span></h3>
<p>Modifies the maximum number of ports, the number of uplink ports, and the maximum MTU size of the specified vSphere distributed switch.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyVDSwitch&quot; | Set-VDSwitch -MaxPorts 1000 -NumUplinkPorts 8 -Mtu 2000</pre>
<p>Changes the version of all vSphere distributed switches whose names start with &#8220;MyVDSwitch&#8221;.</p>
<pre class="brush: powershell; title: ; notranslate">$myVDSwitches = Get-VDSwitch -Name MyVDSwitch*
Set-VDSwitch -VDSwitch $myVDSwitches -Version '5.1.0'</pre>
<p>Enables link discovery protocol on the specified vSphere distributed switch, sets it to LLDP and changes the link discovery protocol operation to listen.</p>
<pre class="brush: powershell; title: ; notranslate">$myVDSwitch = Get-VDSwitch -Name &quot;MyVDSwitch&quot;
Set-VDSwitch -VDSwitch $myVDSwitch -LinkDiscoveryProtocol LLDP -LinkDiscoveryProtocolOperation Listen</pre>
<p>Reconfigures the specified vSphere distributed switch by importing the specified backup profile. The original port groups are not recreated.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyVDSwitch&quot; | Set-VDSwitch -BackupPath 'c:\MyVDSwitchBackups\MyVDSwitch_12_12_2012.zip' -WithoutPortGroups</pre>
<p>Rollbacks the configuration of the specified vSphere distributed switch to its previous state.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VDSwitch -Name &quot;MyVDSwitch&quot; | Set-VDSwitch -RollbackConfiguration</pre>
<p><a href="https://plus.google.com/101940421251779406973?rel=author" rel="author"> -Alan</a></p><p><a href="http://www.virtu-al.net/2013/02/11/powercli-5-1-r2-released/">PowerCLI 5.1 R2 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/2013/02/11/powercli-5-1-r2-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
