Hi all,
For a script I am building, I'm looking to get cluster statistics (CPU and memory resources) via PowerCLI. Specifically these resources:
It needs to implemented in the script like this:
$Targets = @("Test Cluster")
foreach($clus in ($Targets))
{
$TotRAM = 192
$TotCPU = 35
The variables $TotRAM and $TotCPU need to be dynamically filled. How can this be done?
Thanks,
Tom