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