<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Saturday Grab Bag</title>
	<atom:link href="http://www.boche.net/blog/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.boche.net/blog/index.php/2009/09/12/saturday-grab-bag/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 15:34:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Glenn Sizemore</title>
		<link>http://www.boche.net/blog/index.php/2009/09/12/saturday-grab-bag/comment-page-1/#comment-1149</link>
		<dc:creator>Glenn Sizemore</dc:creator>
		<pubDate>Sat, 12 Sep 2009 21:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=1683#comment-1149</guid>
		<description>#Ask and you shall receive ;)
$VMHost = &#039;ESX1.Get-Admin.Local&#039;
$Credential = Get-Credential root

$null = Connect-VIServer -Server $VMhost `
    -WarningAction SilentlyContinue `
    -Credential $credential
$si = Get-View ServiceInstance
$sm = Get-View $SI.Content.SessionManager
$null = [regex]::Match($sm.Message,&quot;(?(\d{1,3}.){3}\d{1,3})&quot;)
cls
write-host &quot;$($VMhost) belongs to: &quot; -NoNewline
write-host ([net.dns]::Resolve($Matches.ip).hostname) -For Yellow</description>
		<content:encoded><![CDATA[<p>#Ask and you shall receive <img src='http://www.boche.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
$VMHost = &#8216;ESX1.Get-Admin.Local&#8217;<br />
$Credential = Get-Credential root</p>
<p>$null = Connect-VIServer -Server $VMhost `<br />
    -WarningAction SilentlyContinue `<br />
    -Credential $credential<br />
$si = Get-View ServiceInstance<br />
$sm = Get-View $SI.Content.SessionManager<br />
$null = [regex]::Match($sm.Message,&#8221;(?(\d{1,3}.){3}\d{1,3})&#8221;)<br />
cls<br />
write-host &#8220;$($VMhost) belongs to: &#8221; -NoNewline<br />
write-host ([net.dns]::Resolve($Matches.ip).hostname) -For Yellow</p>
]]></content:encoded>
	</item>
</channel>
</rss>

