<?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: New version of the Powershell Healthcheck script released</title>
	<atom:link href="http://www.ivobeerens.nl/?feed=rss2&#038;p=256" rel="self" type="application/rss+xml" />
	<link>http://www.ivobeerens.nl/?p=256</link>
	<description></description>
	<lastBuildDate>Fri, 20 Aug 2010 11:48:49 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Kris</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-5349</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Tue, 27 Jul 2010 19:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-5349</guid>
		<description>would you please have the latest script in place?</description>
		<content:encoded><![CDATA[<p>would you please have the latest script in place?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahnawaz</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-5300</link>
		<dc:creator>Shahnawaz</dc:creator>
		<pubDate>Wed, 19 May 2010 09:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-5300</guid>
		<description>Dear All,

I am working in a college, we have one printer server connected with mulltiple printers. 

Is there any script to find that, how many pages has been printed by the user of same domain? and to controle them. 

an early respnce will be appreciated.

Thanks,
Shahnawaz</description>
		<content:encoded><![CDATA[<p>Dear All,</p>
<p>I am working in a college, we have one printer server connected with mulltiple printers. </p>
<p>Is there any script to find that, how many pages has been printed by the user of same domain? and to controle them. </p>
<p>an early respnce will be appreciated.</p>
<p>Thanks,<br />
Shahnawaz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-3862</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 12 Aug 2009 18:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-3862</guid>
		<description>I have updated your script. You can find it here:
http://communities.vmware.com/message/1335892#1335892

Thanks,

Jason</description>
		<content:encoded><![CDATA[<p>I have updated your script. You can find it here:<br />
<a href="http://communities.vmware.com/message/1335892#1335892" rel="nofollow">http://communities.vmware.com/message/1335892#1335892</a></p>
<p>Thanks,</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-3833</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-3833</guid>
		<description>I&#039;ve modifed the summary information, to read as a list rather than trying to format each seperate field in a table, here is the code I have used:

$totalnohosts = (get-vmhost &#124; sort name -descending &#124; % {$server = $_ &#124; get-view; $server.config.product &#124; select { $server.name}, version } &#124; measure-object).count
$TotalDatastores = (get-datastore &#124; sort name -descending &#124; % {$server = $_ &#124; get-view; $server.summary } &#124; select name &#124; measure-object).count
$TotalnoVMs = (Get-VM &#124; sort name -descending &#124; % {$server = $_ &#124; get-view; $server.config.name} &#124; select name &#124;measure-object).count
$TotalClusters = (Get-cluster &#124; sort name -descending &#124; % {$server = $_ &#124; get-view; $server.config.name} &#124; select name &#124;measure-object).count
$TotalDatacenters = (get-datacenter &#124; sort name -descending &#124; % {$server = $_ &#124; get-view; $server.name} &#124; select name &#124; measure-object).count
$TotalTemplates = (get-template &#124; sort name -descending &#124; % {$server = $_ &#124; get-view; $server.name} &#124; select name &#124; measure-object).count
$TotalCustom = (get-OSCustomizationSpec &#124; measure-object).count

ConvertTo-Html –body &quot;VMware Summary Information&quot; -head &quot;&quot;  &#124; Out-File -append $filelocation
ConvertTo-Html –body &quot; Total Number of Datacenters: $TotalDataCenters&quot;  &#124; Out-File -Append $filelocation
ConvertTo-Html –body &quot;Total Number of Clusters: $TotalClusters&quot;  &#124; Out-File -Append $filelocation
ConvertTo-Html –body &quot;Number of Host Servers: $totalnohosts &quot;  &#124; Out-File -Append $filelocation
ConvertTo-Html –body &quot;Number of Datastores: $TotalDatastores&quot;  &#124; Out-File -Append $filelocation
ConvertTo-Html –body &quot;Total Number of Virtual Machines: $TotalnoVMs&quot;  &#124; Out-File -Append $filelocation
ConvertTo-Html –body &quot;Total Number of VM Templates: $TotalTemplates&quot;  &#124; Out-File -Append $filelocation
ConvertTo-Html –body &quot;Total Number of Customizations: $TotalCustom &quot;  &#124; Out-File -Append $filelocation</description>
		<content:encoded><![CDATA[<p>I&#8217;ve modifed the summary information, to read as a list rather than trying to format each seperate field in a table, here is the code I have used:</p>
<p>$totalnohosts = (get-vmhost | sort name -descending | % {$server = $_ | get-view; $server.config.product | select { $server.name}, version } | measure-object).count<br />
$TotalDatastores = (get-datastore | sort name -descending | % {$server = $_ | get-view; $server.summary } | select name | measure-object).count<br />
$TotalnoVMs = (Get-VM | sort name -descending | % {$server = $_ | get-view; $server.config.name} | select name |measure-object).count<br />
$TotalClusters = (Get-cluster | sort name -descending | % {$server = $_ | get-view; $server.config.name} | select name |measure-object).count<br />
$TotalDatacenters = (get-datacenter | sort name -descending | % {$server = $_ | get-view; $server.name} | select name | measure-object).count<br />
$TotalTemplates = (get-template | sort name -descending | % {$server = $_ | get-view; $server.name} | select name | measure-object).count<br />
$TotalCustom = (get-OSCustomizationSpec | measure-object).count</p>
<p>ConvertTo-Html –body &#8220;VMware Summary Information&#8221; -head &#8220;&#8221;  | Out-File -append $filelocation<br />
ConvertTo-Html –body &#8221; Total Number of Datacenters: $TotalDataCenters&#8221;  | Out-File -Append $filelocation<br />
ConvertTo-Html –body &#8220;Total Number of Clusters: $TotalClusters&#8221;  | Out-File -Append $filelocation<br />
ConvertTo-Html –body &#8220;Number of Host Servers: $totalnohosts &#8221;  | Out-File -Append $filelocation<br />
ConvertTo-Html –body &#8220;Number of Datastores: $TotalDatastores&#8221;  | Out-File -Append $filelocation<br />
ConvertTo-Html –body &#8220;Total Number of Virtual Machines: $TotalnoVMs&#8221;  | Out-File -Append $filelocation<br />
ConvertTo-Html –body &#8220;Total Number of VM Templates: $TotalTemplates&#8221;  | Out-File -Append $filelocation<br />
ConvertTo-Html –body &#8220;Total Number of Customizations: $TotalCustom &#8221;  | Out-File -Append $filelocation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-3832</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-3832</guid>
		<description>Mike,
To get the hostname with the hardware details, I have modified the code to read as follows:

$report = @()
Get-View -ViewType HostSystem &#124; % {
	$row = &quot;&quot; &#124; select &quot;Host Name&quot;, Vendor, Model, &quot;Memory (GB)&quot; , &quot;CPU Type&quot;, &quot;CPU Speed (MHz)&quot;, &quot;No. CPU(s)&quot;, &quot;No. Cores&quot;, &quot;CPU Threads&quot;, &quot;No. NIC(s)&quot;, &quot;No. HBA(s)&quot;
	$row.&quot;Host Name&quot; = $_.name
	$row.Vendor = $_.Summary.Hardware.vendor
	$row.Model = $_.Summary.Hardware.model
	$ROW.&quot;Memory (GB)&quot; = &quot;{0:F0}&quot; -f ($_.Summary.Hardware.MemorySize/1GB)
	$row.&quot;CPU Type&quot; = $_.Summary.Hardware.CpuModel
	$row.&quot;CPU Speed (MHz)&quot; = $_.Summary.Hardware.CPUMhz
	$row.&quot;No. CPU(s)&quot; = $_.Summary.Hardware.NumCpuPkgs
	$row.&quot;No. Cores&quot; = $_.Summary.Hardware.NumCpuCores
	$row.&quot;CPU Threads&quot; = $_.Summary.Hardware.NumCpuThreads
	$row.&quot;No. NIC(s)&quot; = $_.Summary.Hardware.NumNics
	$row.&quot;No. HBA(s)&quot; = $_.Summary.Hardware.NumHBAs


	$report += $row
}
$report &#124; ConvertTo-Html –body &quot;ESX server Hardware&quot;  &#124; Out-File -Append $filelocation</description>
		<content:encoded><![CDATA[<p>Mike,<br />
To get the hostname with the hardware details, I have modified the code to read as follows:</p>
<p>$report = @()<br />
Get-View -ViewType HostSystem | % {<br />
	$row = &#8220;&#8221; | select &#8220;Host Name&#8221;, Vendor, Model, &#8220;Memory (GB)&#8221; , &#8220;CPU Type&#8221;, &#8220;CPU Speed (MHz)&#8221;, &#8220;No. CPU(s)&#8221;, &#8220;No. Cores&#8221;, &#8220;CPU Threads&#8221;, &#8220;No. NIC(s)&#8221;, &#8220;No. HBA(s)&#8221;<br />
	$row.&#8221;Host Name&#8221; = $_.name<br />
	$row.Vendor = $_.Summary.Hardware.vendor<br />
	$row.Model = $_.Summary.Hardware.model<br />
	$ROW.&#8221;Memory (GB)&#8221; = &#8220;{0:F0}&#8221; -f ($_.Summary.Hardware.MemorySize/1GB)<br />
	$row.&#8221;CPU Type&#8221; = $_.Summary.Hardware.CpuModel<br />
	$row.&#8221;CPU Speed (MHz)&#8221; = $_.Summary.Hardware.CPUMhz<br />
	$row.&#8221;No. CPU(s)&#8221; = $_.Summary.Hardware.NumCpuPkgs<br />
	$row.&#8221;No. Cores&#8221; = $_.Summary.Hardware.NumCpuCores<br />
	$row.&#8221;CPU Threads&#8221; = $_.Summary.Hardware.NumCpuThreads<br />
	$row.&#8221;No. NIC(s)&#8221; = $_.Summary.Hardware.NumNics<br />
	$row.&#8221;No. HBA(s)&#8221; = $_.Summary.Hardware.NumHBAs</p>
<p>	$report += $row<br />
}<br />
$report | ConvertTo-Html –body &#8220;ESX server Hardware&#8221;  | Out-File -Append $filelocation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike in Irving</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-1954</link>
		<dc:creator>Mike in Irving</dc:creator>
		<pubDate>Mon, 18 May 2009 18:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-1954</guid>
		<description>Hi Ivo,

Really like your script. Thanks a lot for your hard work. I have a newbie question, how do I get the name of the Vmware host in the first section with the hardware details? I&#039;ve been trying, but can&#039;t figure it out.
Sure would appreciate your help on that.
Thanks again for all you do.</description>
		<content:encoded><![CDATA[<p>Hi Ivo,</p>
<p>Really like your script. Thanks a lot for your hard work. I have a newbie question, how do I get the name of the Vmware host in the first section with the hardware details? I&#8217;ve been trying, but can&#8217;t figure it out.<br />
Sure would appreciate your help on that.<br />
Thanks again for all you do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nerf</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-563</link>
		<dc:creator>Nerf</dc:creator>
		<pubDate>Tue, 31 Mar 2009 18:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-563</guid>
		<description>&quot;there datastore&quot; should be &quot;their datastore&quot;</description>
		<content:encoded><![CDATA[<p>&#8220;there datastore&#8221; should be &#8220;their datastore&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-391</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 19 Mar 2009 18:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-391</guid>
		<description>I have been looking for the information regarding windows vmdk disk info (i.e., space used space free and percentage free), that is provied above in Dave&#039;s post to be included in the updated Heathcheck script and unfortunetly am not at the level of scripting as most on here are.  I am confused as to how you would incorporate the above code in as an addition to the existing Healthcheck script?  Any help would be Sincerely appreciated and thanks in advance.</description>
		<content:encoded><![CDATA[<p>I have been looking for the information regarding windows vmdk disk info (i.e., space used space free and percentage free), that is provied above in Dave&#8217;s post to be included in the updated Heathcheck script and unfortunetly am not at the level of scripting as most on here are.  I am confused as to how you would incorporate the above code in as an addition to the existing Healthcheck script?  Any help would be Sincerely appreciated and thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-261</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 25 Feb 2009 01:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-261</guid>
		<description>OOps, I posted this on the original version, anyway.  Very very nice, great work! I suggest the following enhancement to see the size of each windows disk in a VM, space used, space free and percent free (not just percfree). I however did not sort by percent free as it’s sorted by VM, up to you! I used some new variables which are also listed.

##################################################
# Percentage freespace on partitions in the VM #
##################################################

$hdCapacity = @{ N = “Capacity (GB)”; E = { % { $_.Capacity / 1000000000 } } }
$hdFreeSpace = @{ N = “FreeSpace (GB)”; E = { % { $_.FreeSpace / 1000000000 } } }
$hdSpaceUsed = @{ N=”Used (GB)”; E={ ( $_.Capacity - $_.FreeSpace ) / 1000000000 } }
$hdPercFree = @{ N=”PercFree”; E={ [math]::Round( ( 100 * ( $_.FreeSpace / $_.Capacity ) ),0 ) } }

Get-VM &#124; Where { $_.PowerState -eq “PoweredOn”} &#124; Get-VMGuest &#124; Select VmName -ExpandProperty Disks &#124; Select VmName, Path, $hdCapacity, $hdSpaceUsed, $hdFreeSpace, $hdPercFree &#124; ConvertTo-Html –title ” Percentage freespace partitions inside the VM” –body ” Percentage freespace on partitions inside the VM.” -head “” &#124; Out-File -Append $filelocation</description>
		<content:encoded><![CDATA[<p>OOps, I posted this on the original version, anyway.  Very very nice, great work! I suggest the following enhancement to see the size of each windows disk in a VM, space used, space free and percent free (not just percfree). I however did not sort by percent free as it’s sorted by VM, up to you! I used some new variables which are also listed.</p>
<p>##################################################<br />
# Percentage freespace on partitions in the VM #<br />
##################################################</p>
<p>$hdCapacity = @{ N = “Capacity (GB)”; E = { % { $_.Capacity / 1000000000 } } }<br />
$hdFreeSpace = @{ N = “FreeSpace (GB)”; E = { % { $_.FreeSpace / 1000000000 } } }<br />
$hdSpaceUsed = @{ N=”Used (GB)”; E={ ( $_.Capacity &#8211; $_.FreeSpace ) / 1000000000 } }<br />
$hdPercFree = @{ N=”PercFree”; E={ [math]::Round( ( 100 * ( $_.FreeSpace / $_.Capacity ) ),0 ) } }</p>
<p>Get-VM | Where { $_.PowerState -eq “PoweredOn”} | Get-VMGuest | Select VmName -ExpandProperty Disks | Select VmName, Path, $hdCapacity, $hdSpaceUsed, $hdFreeSpace, $hdPercFree | ConvertTo-Html –title ” Percentage freespace partitions inside the VM” –body ” Percentage freespace on partitions inside the VM.” -head “” | Out-File -Append $filelocation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon P</title>
		<link>http://www.ivobeerens.nl/?p=256&#038;cpage=1#comment-172</link>
		<dc:creator>Simon P</dc:creator>
		<pubDate>Wed, 11 Feb 2009 06:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ivobeerens.nl/?p=256#comment-172</guid>
		<description>&lt;a href=&quot;#comment-77&quot; rel=&quot;nofollow&quot;&gt;@Ross&lt;/a&gt; 
My (highly) modified version of this script contains some code to make each of the tables sortable by clicking on the column heading.

ie, with each pipe after convert-to-html ... &#124; foreach {$_ -replace &quot;&lt;table&quot;,&quot;&lt;table class=&#039;sortable&#039;&quot;} &#124; out-file ...

And then place the sorttable.js script in the same as the output directory and voila .. every table is now sortable.

You can get this script form here:
http://www.kryogenix.org/code/browser/sorttable/

SP</description>
		<content:encoded><![CDATA[<p><a href="#comment-77" rel="nofollow">@Ross</a><br />
My (highly) modified version of this script contains some code to make each of the tables sortable by clicking on the column heading.</p>
<p>ie, with each pipe after convert-to-html &#8230; | foreach {$_ -replace &#8220;&lt;table&#8221;,&#8221;&lt;table class=&#8217;sortable&#8217;&#8221;} | out-file &#8230;</p>
<p>And then place the sorttable.js script in the same as the output directory and voila .. every table is now sortable.</p>
<p>You can get this script form here:<br />
<a href="http://www.kryogenix.org/code/browser/sorttable/" rel="nofollow">http://www.kryogenix.org/code/browser/sorttable/</a></p>
<p>SP</p>
]]></content:encoded>
	</item>
</channel>
</rss>
