Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Hostmonitoring - Powercli

$
0
0

Hi All,

 

Need help to get the output of the below code formated in the HTML or CSS format and send it through email please. Also I wanted to the server 'Uptime' to this code please.

 

Get-Datacenter | Sort | Get-VMHost | Sort | Get-View |`
Select Name, ConnectionState, PowerState, OverallStatus, `
@{N="CPU Usage (GHz)";E={[math]::round(
$_.Summary.QuickStats.OverallCpuUsage/1024,2)}}, `
@{N="Memory Usage (GB)";E={[math]::round(
$_.Summary.QuickStats.OverallMemoryUsage/1024,2)}}

 

thanks


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>