<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Akn's Blog</title>
	<atom:link href="http://akns.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://akns.wordpress.com</link>
	<description>Open Technology Forum</description>
	<lastBuildDate>Wed, 19 Oct 2011 15:44:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='akns.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Akn's Blog</title>
		<link>http://akns.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://akns.wordpress.com/osd.xml" title="Akn&#039;s Blog" />
	<atom:link rel='hub' href='http://akns.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Script to capture the number of days since password was last changed for all users on ESX server. (Output saved in CSV file)</title>
		<link>http://akns.wordpress.com/2011/10/17/script-to-capture-the-number-of-days-since-password-was-last-change-for-all-users-on-esx-server/</link>
		<comments>http://akns.wordpress.com/2011/10/17/script-to-capture-the-number-of-days-since-password-was-last-change-for-all-users-on-esx-server/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 14:14:14 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/2011/10/17/script-to-capture-the-number-of-days-since-password-was-last-change-for-all-users-on-esx-server/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=367&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash; collapse: true; light: false; toolbar: true; wrap-lines: false;">
 #Author: Anil Narayanan
 #Purpose: Shell Script to extract the number of days since the password was last changed on ESX servers. Output saved in CSV file.
 #Version: 1

 echo &quot;========================================================================================&quot;
 echo &quot;Author: Anil Narayanan&quot;
 echo &quot;Purpose: Shell Script to extract the number of days since the password was last changed on ESX servers.&quot;
 echo &quot;Version: 1&quot;
 echo &quot;========================================================================================&quot;
 echo &quot;&quot;

header=&quot;Serial,User,Pasword Last Changed&quot;
 echo $header &gt; /tmp/`hostname -s`_LPwdChg.csv
 id=$(cut -f1 -d : /etc/passwd)
 inc=0
 for uid in $id
 do
 inc=`expr $inc + 1`
 lchgdate=&quot;$(/usr/sbin/lchage -l $uid | grep -i &quot;Last Change&quot; | cut -f2 -d : )&quot;
 sdate=$(date -d $lchgdate +%s)
 edate=$(date +%s)
 diffdate=`expr $edate - $sdate`
 days=&quot;`expr $diffdate / 86400` Days&quot;
 line=&quot;$inc,$uid,$days&quot;
 echo $line
 echo $line &gt;&gt; /tmp/`hostname -s`_LPwdChg.csv
 done
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=367&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/10/17/script-to-capture-the-number-of-days-since-password-was-last-change-for-all-users-on-esx-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Location of files that store Network Settings including MAC address in ESX 2.5</title>
		<link>http://akns.wordpress.com/2011/10/12/location-for-files-that-store-network-settings-including-mac-address-in-esx-2-5/</link>
		<comments>http://akns.wordpress.com/2011/10/12/location-for-files-that-store-network-settings-including-mac-address-in-esx-2-5/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 09:41:04 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/2011/10/12/location-for-files-that-store-network-settings-including-mac-address-in-esx-2-5/</guid>
		<description><![CDATA[# cd /proc/net/nicinfo #ls eth0.info vmnic0.info vmnic1.info vmnic2.info<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=364&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p># cd /proc/net/nicinfo<br />
#ls<br />
eth0.info vmnic0.info vmnic1.info vmnic2.info</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/364/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=364&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/10/12/location-for-files-that-store-network-settings-including-mac-address-in-esx-2-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Capture IBM DSA Hardware logs from ESXi hosts registered to vCenter</title>
		<link>http://akns.wordpress.com/2011/07/18/capture-dsa-logs-from-esx-hosts-registered-to-vcenter/</link>
		<comments>http://akns.wordpress.com/2011/07/18/capture-dsa-logs-from-esx-hosts-registered-to-vcenter/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 03:10:11 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/?p=340</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=340&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; collapse: true; light: false; toolbar: true; wrap-lines: false;">
clear
 [System.Reflection.Assembly]::LoadWithPartialName(&quot;System.windows.forms&quot;)
 $dsa_filedlg= new-object System.Windows.Forms.OpenFileDialog
 $app = new-object -com Shell.Application
 $cred_filedlg = New-Object system.Windows.Forms.OpenFileDialog

###TODO: Open File Dialog to select DSA Executable File

Read-Host &quot;Press 'ENTER' to select DSA Exe File...&quot;
 $dsa_filedlg.ShowHelp = $true
 $ret_val=$dsa_filedlg.ShowDialog()
 if($ret_val -eq &quot;OK&quot;)
 {
 $dsa_filename = $dsa_filedlg.FileName
 }
 Write-Host &quot;DSA Exe FilePath: &quot; $dsa_filename -ForegroundColor Green

###TODO: Open Folder Dialog to select output folder for DSA logs

Read-Host &quot;Press 'ENTER' to select output folder...&quot;
 $dsa_flddlg = $app.BrowseForFolder(0, &quot;Select Folder&quot;, 0, &quot;C:\&quot;)
 if ($dsa_flddlg.Self.Path -ne &quot;&quot;)
 {
 write-host &quot;Output Folder Path &quot; $dsa_flddlg.Self.Path -ForegroundColor Magenta
 }

###TODO: Select credentials file which contains login credentials for individual ESX servers
 ###INFO: The credentials file is generated with the &quot;New-VICredentialStoreItem&quot; command

Read-Host &quot;Press 'ENTER' to select Credentials File...(XML File)&quot;
 $cred_filedlg.ShowHelp = $true
 $ret_val=$cred_filedlg.ShowDialog()
 if($ret_val -eq &quot;OK&quot;)
 {
 $cred_filename = $cred_filedlg.FileName
 }
 Write-Host &quot;Credentials FilePath: &quot; $cred_filename -ForegroundColor Yellow

#------------------------------------------------------------------------------------

Add-PSSnapin vmware.vimautomation.core
 connect-viserver &lt;vCenter Server&gt;    ###INFO: Enter ServerName/IP of the vCenter Server
 $hosts = Get-VMHost
 disconnect-viserver &lt;vCenter Server&gt; -WarningAction SilentlyContinue

foreach($esx_host in $hosts)
 {
 ###INFO: The below 5 lines are to get the Hostname from a Domain Name of ESX host
 $temp=$esx_host.name
 Write-Host $temp
 $index=$temp.IndexOf(&quot;.&quot;)
 $sub=$temp.Substring(0,$index)
 $sub

$pwd = Get-VICredentialStoreItem -Host $sub -File $cred_filename
 $exec_command = $dsa_filename + ' -v -c -d ' +  $dsa_flddlg.Self.Path + '\' + $sub + ' --vmware-esxi ' + $pwd.User + ':&quot;' + $pwd.Password + '&quot;@' + $sub
 [System.Windows.Forms.MessageBox]::Show($exec_command)
 Invoke-Expression -Command $exec_command
 }
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=340&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/07/18/capture-dsa-logs-from-esx-hosts-registered-to-vcenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Updated PowerCli Script to generate Inventory of Hosts/VM&#8217;s attached to vCenter (Under development)</title>
		<link>http://akns.wordpress.com/2011/05/20/powercli-script-to-generate-inventory-of-hostsvms-attached-to-vcenter/</link>
		<comments>http://akns.wordpress.com/2011/05/20/powercli-script-to-generate-inventory-of-hostsvms-attached-to-vcenter/#comments</comments>
		<pubDate>Fri, 20 May 2011 08:15:32 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/2011/05/20/powercli-script-to-generate-inventory-of-hostsvms-attached-to-vcenter/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=313&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; collapse: true; light: false; toolbar: true; wrap-lines: false;">
#Author: Anil Narayanan
#This script has been tested on Virtual Center 2.x and vSphere 4.x
#The old script has been re-written from scratch and this is more optimized and a cleaner looking script. There is some amount of redudant code which I plan to remove soon.
#The output of this script is written to a CSV file under C:\ with the name of the Virtual Center
#Import the CSV file and save it as an excel sheet  (Select &quot;,&quot; and &quot;;&quot; as delimiter)
#Below is the data captured by the script:
#ESX: ESX Host Name, Version Build,    Manufacturer, Model, ProcessorType, Total Memory(GB), Uptime (Days), Critical Host Patches, Non-Critical Host Patches, Installed Patches
#VM: VM Name, Power State, H/W Version, CPU's, Memory, OS Name, Tools Status, IP Address, Hard Disks, Datastore Association, OS Disk Utilization(GB), Avg. CPU% Util. (Weekly), Avg. MEM% Util. (Weekly)

clear

add-pssnapin vmware.vimautomation.core
add-pssnapin vmware.vumautomation

$esx_header = &quot;ESX Host Name&quot; + &quot;;&quot; + &quot;Version&quot; + &quot;;&quot; + &quot;Build&quot; + &quot;;&quot; + &quot;Manufacturer&quot; + &quot;;&quot; + &quot;Model&quot; + &quot;;&quot; + &quot;ProcessorType&quot; + &quot;;&quot; + &quot;Total Memory (GB)&quot; + &quot;;&quot; + &quot;Uptime (Days)&quot; + &quot;;&quot; + &quot;Critical Host Patches&quot; + &quot;;&quot; + &quot;Non-Critical Host Patches&quot; + &quot;;&quot; + &quot;Installed Patches (PatchID,Install Date,Desc.)&quot;
$vm_header = &quot;&quot; + &quot;;&quot; + &quot;VM Name&quot; + &quot;;&quot; + &quot;Power State&quot; + &quot;;&quot; + &quot;Version&quot; + &quot;;&quot; + &quot;CPU's&quot; + &quot;;&quot; + &quot;Memory&quot; + &quot;;&quot; + &quot;OS Name&quot; + &quot;;&quot; + &quot;Tools Status&quot; + &quot;;&quot; + &quot;IP Address&quot; + &quot;;&quot; + &quot;Hard Disks&quot; + &quot;;&quot; + &quot;Datastore Association&quot; + &quot;;&quot; + &quot;OS Disk Utilization (GB)&quot; + &quot;;&quot; + &quot;Avg. CPU% Util. (Weekly)&quot; + &quot;;&quot; + &quot;Avg. MEM% Util. (Weekly)&quot;

#Variable Declaration/Initialization
$vcsession=&quot;&quot;
$allhosts = @()
$allvms=@()
$vcname=Read-Host(&quot;Enter VC Server Name: &quot;)    #Accepting Virtual Center Server Name
$vcname = $vcname.toUpper()
$outputfilename=&quot;c:\&quot; + $vcname + &quot;.csv&quot;
$vmipaddress=&quot;&quot;
$vmdatastores=&quot;&quot;
$strvmdatastores=&quot;&quot;
$disk_extensiondata=&quot;&quot;
$hostpatchlist=&quot;&quot;

$allvms = Get-VM | Sort-Object                #Get all VM's associated with the Virtual Center
$allhosts = Get-VMHost | Sort-Object        #Get all ESX Host's associated with the Virtual Center

#Connecting to Virtual Center Server
$vcsession=Connect-VIServer $vcname
write-output $vcsession
Start-Sleep -Seconds 2

#Send Virtual Center title to file
write-output (&quot;Virtual Center&quot; + &quot;;&quot; + $vcname) &gt; $outputfilename

#Module to fetch VM information
for($j=0;$j -lt $allhosts.Length;$j++)
{
$allhosts[$j].Name
#Send Title header to file
write-output $esx_header &gt;&gt; $outputfilename

if(($vcsession.Version).Contains(&quot;4.1&quot;))
{

#The below loop captures patches installed on an ESX server in the variable 'hostpatchlist'
for($i=0;$i -lt ($allhosts[$j] | get-vmhostpatch).Count;$i++)
{
$hostpatchlist=$hostpatchlist + (($allhosts[$j] | get-vmhostpatch)[$i].Id + &quot;, &quot; + ($allhosts[$j] | get-vmhostpatch)[$i].InstallDate + &quot;, &quot; + ($allhosts[$j] | get-vmhostpatch)[$i].Description + &quot;`n&quot; + &quot;;;;;;;;;;;&quot;)
}

#Send captured ESX Header information to the CSV file
write-output ( $allhosts[$j].Name + &quot;;&quot; + $allhosts[$j].Version + &quot;;&quot; + $allhosts[$j].Build + &quot;;&quot; + $allhosts[$j].Manufacturer + &quot;;&quot; + $allhosts[$j].Model + &quot;;&quot; +  $allhosts[$j].ProcessorType + &quot;;&quot; + [Math]::Round($allhosts[$j].MemoryTotalMB/1024) + &quot;;&quot; + [Math]::Round(((get-date).Date - $allhosts[$j].ExtensionData.Summary.Runtime.Boottime).Totaldays) + &quot;;&quot; + ($allhosts[$j] | Get-Compliance -Baseline (Get-PatchBaseline 'Critical Host Patches')).Status + &quot;;&quot; + ($allhosts[$j] | Get-Compliance -Baseline (Get-PatchBaseline 'Non-Critical Host Patches')).Status + &quot;;&quot; + $hostpatchlist) &gt;&gt; $outputfilename
}
else
{
write-output ( $allhosts[$j].Name + &quot;;&quot; + $allhosts[$j].Version + &quot;;&quot; + $allhosts[$j].Build + &quot;;&quot; + $allhosts[$j].Manufacturer + &quot;;&quot; + $allhosts[$j].Model + &quot;;&quot; +  $allhosts[$j].ProcessorType + &quot;;&quot; + [Math]::Round($allhosts[$j].MemoryTotalMB/1024) + &quot;;&quot; + [Math]::Round(((get-date).Date - $allhosts[$j].ExtensionData.Summary.Runtime.Boottime).Totaldays) + &quot;;&quot; + &quot;N/A&quot; + &quot;;&quot; + &quot;N/A&quot; + &quot;;&quot; + &quot;N/A&quot;) &gt;&gt; $outputfilename
}

write-output $vm_header &gt;&gt; $outputfilename

for($i=0;$i -lt $allvms.Length;$i++)
{
if($allvms[$i].Host.Name -eq $allhosts[$j].Name)        #Compare ESX Server Name as against one of the VM's parameter storing the ESX HostName
{
$allvms[$i].Name

#Populating string with IP Addresses for VM's with many IP Addresses.
for($k=0;$k -lt $allvms[$i].Guest.IPAddress.Count;$k++)
{
$vmipaddress = $vmipaddress + $allvms[$i].Guest.IPAddress[$k] + &quot;, &quot;
}
#Removing the last comma in the IP Address string variable
if(($vmipaddress.Trim()).Length -gt 1)
{
$vmipaddress = $vmipaddress.substring(0,$vmipaddress.Length-2)
}

#Populating string with Datastores for a VM
$vmdatastores = Get-Datastore -VM $allvms[$i].Name
if($vmdatastores.Length)
{
for($k=0;$k -lt $vmdatastores.Length;$k++)    #Multiple Disks
{
$strvmdatastores = $strvmdatastores + $vmdatastores[$k] + &quot;, &quot;
}
$strvmdatastores = $strvmdatastores.substring(0,$strvmdatastores.Length-2)
}
else    #Single Disk
{
$strvmdatastores = $vmdatastores.Name
}

#Populating string with VM's Disk Utilization
for($k=0;$k -lt (get-vmguest -VM $allvms[$i].Name).ExtensionData.Disk.Count;$k++)
{
$disk_content = &quot;Disk Path: &quot; +  (get-vmguest -VM $allvms[$i].Name).ExtensionData.Disk[$k].DiskPath + &quot; Capacity: &quot; + [Math]::Round((((get-vmguest -VM $allvms[$i].Name).ExtensionData.Disk[$k].Capacity)/1073741824),1) + &quot; Free Space: &quot; + [Math]::Round((((get-vmguest -VM $allvms[$i].Name).ExtensionData.Disk[$k].FreeSpace)/1073741824),1) + &quot; / &quot;
$disk_alldisks = $disk_alldisks + $disk_content
}
#Removing the last comma in the Disk Utilization string variable
if(($disk_alldisks).Length -gt 1)
{
$disk_alldisks = $disk_alldisks.substring(0,$disk_alldisks.Length-2)
}

#Sending output to File
write-output ( &quot;;&quot; + $allvms[$i].Name + &quot;;&quot; + $allvms[$i].PowerState + &quot;;&quot; + $allvms[$i].Version + &quot;;&quot; + $allvms[$i].NumCpu + &quot;;&quot; + $allvms[$i].MemoryMB + &quot;;&quot; + $allvms[$i].Guest.OSFullName + &quot;;&quot; + $allvms[$i].Guest.ExtensionData.ToolsStatus + &quot;;&quot; + $vmipaddress + &quot;;&quot; + $allvms[$i].HardDisks.Length + &quot;;&quot; + $strvmdatastores + &quot;;&quot; + $disk_alldisks + &quot;;&quot; + [Math]::Round((Get-Stat -Entity $allvms[$i].Name -Start (Get-Date).AddDays(-7) -Stat cpu.usage.average | Measure-Object Value -Average).Average, 2) + &quot;;&quot; + [Math]::Round((Get-Stat -Entity $allvms[$i].Name -Start (Get-Date).AddDays(-7) -Stat mem.usage.average | Measure-Object Value -Average).Average,2)) &gt;&gt; $outputfilename

#Reinitializing variable to empty string
$vmipaddress = &quot;&quot;
$strvmdatastores=&quot;&quot;
$disk_alldisks = &quot;&quot;
$hostpatchlist = &quot;&quot;
}
}
}

write-output (&quot;Total Hosts&quot; + &quot;;&quot; + $allhosts.Count) &gt;&gt; $outputfilename
write-output (&quot;Total VM's&quot; + &quot;;&quot; + $allvms.Count) &gt;&gt; $outputfilename
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=313&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/05/20/powercli-script-to-generate-inventory-of-hostsvms-attached-to-vcenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Script to map Virtual Center Datastores to local computer powershell drives and download all the files from the datastore</title>
		<link>http://akns.wordpress.com/2011/05/15/script-to-map-virtual-center-datastores-to-local-computer-powershell-drives-and-download-all-the-files-from-the-datastore/</link>
		<comments>http://akns.wordpress.com/2011/05/15/script-to-map-virtual-center-datastores-to-local-computer-powershell-drives-and-download-all-the-files-from-the-datastore/#comments</comments>
		<pubDate>Sun, 15 May 2011 18:05:00 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/?p=311</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=311&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; wrap-lines: false;">
Connect-VIServer &lt;vCenter Server Name&gt;
 clear
 $ds=Get-Datastore -Name *
 foreach($i in $ds)
 {
 if($i.Name -match &quot; &quot;){                                              #Replace datastore names having &quot;space&quot; with &quot;_&quot; (underscore)
 $j=$i.Name -replace (&quot; &quot;,&quot;_&quot;)
 }
 elseif($i.Name -match &quot;:&quot;){                                  #Replace datastore names having &quot;:&quot; with &quot;_&quot; (underscore
 $j=$i.Name -replace (&quot;:&quot;,&quot;_&quot;)
 }
 $j
 New-PSDrive -Name psdrive_$j -PSProvider vimdatastore -Root &quot;/&quot; -Location $i
 }
 Copy-DatastoreItem -Item psdrive:\&lt;directory name&gt;\vmware* -Destination N:\test\
 Remove-PSDrive -Name psdrive
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=311&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/05/15/script-to-map-virtual-center-datastores-to-local-computer-powershell-drives-and-download-all-the-files-from-the-datastore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Script to browse Powershell Drives</title>
		<link>http://akns.wordpress.com/2011/05/15/script-to-browse-powershell-drives/</link>
		<comments>http://akns.wordpress.com/2011/05/15/script-to-browse-powershell-drives/#comments</comments>
		<pubDate>Sun, 15 May 2011 17:49:39 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/?p=306</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=306&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; wrap-lines: false;">
clear
 $j=@()
 $i=Get-PSDrive
 foreach($j in $i)
 {
 $j=$j.Name+(&quot;:&quot;)
 $j
 if($j -match &quot;cert&quot;){
 Set-Location $j
 Get-ChildItem -Recurse
 }
 }
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=306&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/05/15/script-to-browse-powershell-drives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Short Powercli Script to create VM&#8217;s</title>
		<link>http://akns.wordpress.com/2011/04/23/short-powercli-script-to-create-vms/</link>
		<comments>http://akns.wordpress.com/2011/04/23/short-powercli-script-to-create-vms/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 06:03:16 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/2011/04/23/short-powercli-script-to-create-vms/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=304&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; wrap-lines: true;">
1..10 | foreach {New-VM -VMHost 192.168.1.5 -Datastore datastore1 -DiskMB 1 -DiskStorageFormat Thin -Name test$_}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=304&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/04/23/short-powercli-script-to-create-vms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Delete VM&#8217;s using Powercli script with settings imported from CSV file</title>
		<link>http://akns.wordpress.com/2011/04/23/delete-vms-using-powercli-script-with-settings-imported-from-csv-file/</link>
		<comments>http://akns.wordpress.com/2011/04/23/delete-vms-using-powercli-script-with-settings-imported-from-csv-file/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 04:50:21 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/2011/04/23/delete-vms-using-powercli-script-with-settings-imported-from-csv-file/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=302&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; wrap-lines: false;">
$temp = Import-Csv C:\Users\Administrator\Desktop\book1.csv
 foreach($i in $temp)
 {
 Remove-VM -Server 192.168.1.3 -DeletePermanently -VM $i.Name -ErrorAction SilentlyContinue -Confirm:$false
 }
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=302&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/04/23/delete-vms-using-powercli-script-with-settings-imported-from-csv-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>Add Virtual Machines using PowerCli script with settings imported from CSV file</title>
		<link>http://akns.wordpress.com/2011/04/23/add-virtual-machines-with-powercli-with-settings-imported-from-csv-file/</link>
		<comments>http://akns.wordpress.com/2011/04/23/add-virtual-machines-with-powercli-with-settings-imported-from-csv-file/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 04:26:29 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/2011/04/23/add-virtual-machines-with-powercli-with-settings-imported-from-csv-file/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=299&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: powershell; wrap-lines: false;">
$hostip = &quot;192.168.1.3&quot;
 $vminventory = Import-Csv C:\Users\Administrator\Desktop\book1.csv
 Connect-VIServer $hostip
 ForEach($i in $vminventory)
 {
 New-VM -VMHost $hostip -Datastore datastore1 -Name $i.Name -MemoryMB $i.Memory -NumCpu $i.Cpu -DiskMB $i.Disk -NetworkName $i.Network -ErrorAction Inquire
 }
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=299&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2011/04/23/add-virtual-machines-with-powercli-with-settings-imported-from-csv-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
		<item>
		<title>vSphere 4 performance chart clarity</title>
		<link>http://akns.wordpress.com/2010/10/09/vsphere-4-performance-chart-clarity/</link>
		<comments>http://akns.wordpress.com/2010/10/09/vsphere-4-performance-chart-clarity/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 19:44:56 +0000</pubDate>
		<dc:creator>Anil</dc:creator>
		
		<guid isPermaLink="false">http://akns.wordpress.com/?p=293</guid>
		<description><![CDATA[Under performance charts of a VM, under Network performance, what are numbers 4000, 4001 and under CPU performance, what are numbers 0,1,2..8. Under CPU Performance chart, numbers 0,1,2..8 are the number of processors allocated to the VM starting from 0. The &#60;VM-Name&#62; is the aggregate for all vCPUs of a VM. Under Network Performance chart, <a href="http://akns.wordpress.com/2010/10/09/vsphere-4-performance-chart-clarity/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=293&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Under performance charts of a VM, under Network performance, what are numbers <strong>4000, 4001</strong> and under CPU performance, what are numbers <strong>0,1,2..8</strong>.</p>
<p>Under CPU Performance chart, numbers <strong>0,1,2..8</strong> are the number of processors allocated to the VM starting from 0.</p>
<p>The <strong>&lt;VM-Name&gt;</strong> is the aggregate for all vCPUs of a VM.</p>
<p>Under Network Performance chart, for e.g. if  we have added 2 NIC’s to the VM, under performance charts VMNIC0 is represented with <strong>4000</strong> and VMNIC1 represented with <strong>4001</strong>. But, I don’t see more than two virtual NIC’s when added under the performance chart of a VM. Dunno why?</p>
<p>But I hope this post offers some clarity.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/akns.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/akns.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/akns.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/akns.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/akns.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/akns.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/akns.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/akns.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=akns.wordpress.com&amp;blog=5769978&amp;post=293&amp;subd=akns&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://akns.wordpress.com/2010/10/09/vsphere-4-performance-chart-clarity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.928487 77.553344</georss:point>
		<geo:lat>12.928487</geo:lat>
		<geo:long>77.553344</geo:long>
		<media:content url="http://0.gravatar.com/avatar/26b183b17979426798191a7c3d0ae31a?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">akns</media:title>
		</media:content>
	</item>
	</channel>
</rss>
