<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cluster Utlisaton report in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2815254#M98572</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Kindly can you help me to convert the same into percentage.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 09:42:31 GMT</pubDate>
    <dc:creator>prasanna22kumar</dc:creator>
    <dc:date>2020-12-07T09:42:31Z</dc:date>
    <item>
      <title>Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812561#M98383</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new to scripting, Kindly assist me on getting CPU,Memory for Cluster &amp;amp; Esxi Host's under the Cluster in the below format&lt;/P&gt;&lt;TABLE width="867"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="49"&gt;Cluster&lt;/TD&gt;&lt;TD width="101"&gt;Esxi Host Name&lt;/TD&gt;&lt;TD width="114"&gt;CPU GHz Capacity&lt;/TD&gt;&lt;TD width="93"&gt;CPU GHz Used&lt;/TD&gt;&lt;TD width="89"&gt;CPU GHz Free&lt;/TD&gt;&lt;TD width="135"&gt;Memory Capacity GB&lt;/TD&gt;&lt;TD width="113"&gt;Memory Used GB&lt;/TD&gt;&lt;TD width="109"&gt;Memory Free GB&lt;/TD&gt;&lt;TD width="64"&gt;TimeStamp&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 13:31:44 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812561#M98383</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-11-25T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812564#M98384</link>
      <description>&lt;P&gt;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/5378659"&gt;@prasanna22kumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What did you find when you did a search in this area of VMTN? (this topic will have been covered many times before)&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 13:47:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812564#M98384</guid>
      <dc:creator>scott28tt</dc:creator>
      <dc:date>2020-11-25T13:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812569#M98385</link>
      <description>&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;I was able to pull few information using the previous Script, But I was unable to pull in required format as below.&lt;/P&gt;&lt;TABLE width="867"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="49"&gt;Cluster&lt;/TD&gt;&lt;TD width="101"&gt;Esxi Host Name&lt;/TD&gt;&lt;TD width="114"&gt;CPU GHz Capacity&lt;/TD&gt;&lt;TD width="93"&gt;CPU GHz Used&lt;/TD&gt;&lt;TD width="89"&gt;CPU GHz Free&lt;/TD&gt;&lt;TD width="135"&gt;Memory Capacity GB&lt;/TD&gt;&lt;TD width="113"&gt;Memory Used GB&lt;/TD&gt;&lt;TD width="109"&gt;Memory Free GB&lt;/TD&gt;&lt;TD width="64"&gt;TimeStamp&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the link I tried few options.&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;A href="https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Powercli-Script-to-Capture-ESXi-Host-CPU-Memory-Usage/m-p/373592" target="_blank" rel="noopener"&gt;https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Powercli-Script-to-Capture-ESXi-Host-CPU-Memory-Usage/m-p/373592&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If can assist me on that I will be thankful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 13:54:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812569#M98385</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-11-25T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812583#M98386</link>
      <description>&lt;P&gt;Just providing a link to another post is not really saying what your problem is.&lt;BR /&gt;That other post has 90% of the information you requested.&lt;BR /&gt;What is missing?&lt;BR /&gt;What did you try, and what didn't work?&lt;BR /&gt;&lt;BR /&gt;And btw, you never replied on your other thread.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 14:34:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812583#M98386</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2020-11-25T14:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812589#M98387</link>
      <description>&lt;P&gt;Hi Lucd,&lt;/P&gt;&lt;P&gt;Yes, the link as information, But I required all cluster's &amp;amp; Esxi Host &amp;amp;&amp;nbsp; Timestamp to be added.&lt;/P&gt;&lt;P&gt;Cluster-Esxi-Timestamp, Kindly help me to add those cmdlet to Script..Please.&lt;/P&gt;&lt;P&gt;Previous one as suggested, I'm working on it...Once I do it...I will surely thank you on that thread.&lt;/P&gt;&lt;P&gt;As always you're so much helpful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 14:49:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812589#M98387</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-11-25T14:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812619#M98388</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$time = Get-Date

Get-Cluster -PipelineVariable cluster |
Get-VMHost|
Select @{N='Cluster';E={$cluster.Name}},
    @{N='VMHost';E={$_.Name}},
    @{N='CPU GHz Capacity';E={[math]::Round($_.CpuTotalMhz/1000,2)}},
    @{N='CPU GHz Used';E={[math]::Round($_.CpuUsageMhz/1000,2)}},
    @{N='CPU GHz Free';E={[math]::Round(($_.CpuTotalMhz - $_.CpuUsageMhz)/1000,2)}},
    @{N='Memory Capacity GB';E={[math]::Round($_.MemoryTotalGB,2)}},
    @{N='Memory Used GB';E={[math]::Round($_.MemoryUsageGB,2)}},
    @{N='Memory Free GB';E={[math]::Round(($_.MemoryTotalGB - $_.MemoryUsageGB),2)}},
    @{N='Timestamp';E={$time}} |
Export-Csv -Path .\report.csv -NoTypeInformation -UseCulture&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Nov 2020 15:58:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812619#M98388</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2020-11-25T15:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812640#M98389</link>
      <description>&lt;P&gt;Dear Lucd,&lt;/P&gt;&lt;P&gt;It worked....!! Thanks...!!&lt;/P&gt;&lt;P&gt;It's really admirable, As always you help other's and make sure it get's resolved.&lt;/P&gt;&lt;P&gt;You're the captain of this community.&lt;/P&gt;&lt;P&gt;Thanks a lot ..!!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL class="i8Z77e"&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:39:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2812640#M98389</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-11-25T16:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2814769#M98547</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I convert the output into percentage (%) ..Please.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 11:28:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2814769#M98547</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-12-04T11:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2814795#M98551</link>
      <description>&lt;P&gt;Used/Capacity*100&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 13:36:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2814795#M98551</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2020-12-04T13:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2814815#M98552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below is changes made for only ( Free Memory &amp;amp; CPU ) as per your instructions,&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;$time = Get-Date&lt;BR /&gt;Get-Cluster -PipelineVariable cluster |&lt;BR /&gt;Get-VMHost|&lt;BR /&gt;Select @{N='Cluster';E={$cluster.Name}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='VMHost';E={$_.Name}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='CPU GHz Capacity';E={[math]::Round($_.CpuTotalMhz/1000,2)}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='CPU GHz Used';E={[math]::Round($_.CpuUsageMhz/1000,2)}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='CPU GHz Free %';E={[math]::Round(($_.CpuTotalMhz - $_.CpuUsageMhz)/1000,2)/100}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='Memory Capacity GB';E={[math]::Round($_.MemoryTotalGB,2)}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='Memory Used GB';E={[math]::Round($_.MemoryUsageGB,2)}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='Memory Free %';E={[math]::Round(($_.MemoryTotalGB - $_.MemoryUsageGB),2)/100}},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N='Timestamp';E={$time}}|&lt;BR /&gt;Export-Csv -Path c:\temp\ramdisk\Utilisationreport3.csv -NoTypeInformation -UseCulture&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Below is the Ooutput.&lt;/FONT&gt;&lt;/P&gt;&lt;TABLE width="772"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="114"&gt;CPU GHz Capacity&lt;/TD&gt;&lt;TD width="93"&gt;CPU GHz Used&lt;/TD&gt;&lt;TD width="103"&gt;CPU GHz Free %&lt;/TD&gt;&lt;TD width="135"&gt;Memory Capacity GB&lt;/TD&gt;&lt;TD width="113"&gt;Memory Used GB&lt;/TD&gt;&lt;TD width="103"&gt;Memory Free %&lt;/TD&gt;&lt;TD width="111"&gt;Timestamp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;79.8&lt;/TD&gt;&lt;TD&gt;54.76&lt;/TD&gt;&lt;TD&gt;0.2504&lt;/TD&gt;&lt;TD&gt;1023.65&lt;/TD&gt;&lt;TD&gt;737.62&lt;/TD&gt;&lt;TD&gt;2.8603&lt;/TD&gt;&lt;TD&gt;04-12-2020 14:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;79.8&lt;/TD&gt;&lt;TD&gt;57.71&lt;/TD&gt;&lt;TD&gt;0.2209&lt;/TD&gt;&lt;TD&gt;1023.65&lt;/TD&gt;&lt;TD&gt;459.15&lt;/TD&gt;&lt;TD&gt;5.645&lt;/TD&gt;&lt;TD&gt;04-12-2020 14:20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly let me whether OUT is correct, If yes... How I place percentage symbol next to Value as per Below&amp;nbsp;&lt;/P&gt;&lt;TABLE width="772"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="114"&gt;CPU GHz Capacity&lt;/TD&gt;&lt;TD width="93"&gt;CPU GHz Used&lt;/TD&gt;&lt;TD width="103"&gt;CPU GHz Free %&lt;/TD&gt;&lt;TD width="135"&gt;Memory Capacity GB&lt;/TD&gt;&lt;TD width="113"&gt;Memory Used GB&lt;/TD&gt;&lt;TD width="103"&gt;Memory Free %&lt;/TD&gt;&lt;TD width="111"&gt;Timestamp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;79.8&lt;/TD&gt;&lt;TD&gt;54.76&lt;/TD&gt;&lt;TD&gt;0.25%&lt;/TD&gt;&lt;TD&gt;1023.65&lt;/TD&gt;&lt;TD&gt;737.62&lt;/TD&gt;&lt;TD&gt;2.86%&lt;/TD&gt;&lt;TD&gt;04-12-2020 14:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;79.8&lt;/TD&gt;&lt;TD&gt;57.71&lt;/TD&gt;&lt;TD&gt;0.22%&lt;/TD&gt;&lt;TD&gt;1023.65&lt;/TD&gt;&lt;TD&gt;459.15&lt;/TD&gt;&lt;TD&gt;5.65%&lt;/TD&gt;&lt;TD&gt;04-12-2020 14:20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 14:30:00 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2814815#M98552</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-12-04T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Utlisaton report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2815254#M98572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Kindly can you help me to convert the same into percentage.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 09:42:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Cluster-Utlisaton-report/m-p/2815254#M98572</guid>
      <dc:creator>prasanna22kumar</dc:creator>
      <dc:date>2020-12-07T09:42:31Z</dc:date>
    </item>
  </channel>
</rss>

