Hardware Summary

Hi,

Is there a way in System Center Virtual Machine Manager 2012 r2 to display all my hardware resources such as how many disk space am I using or available, etc. ?

September 8th, 2015 2:46pm

Hi Sir,

I would suggest you to use powershell to display/collect  the hardware resources (memory,storage) for all hosts .

For example , you want to list the total/available memory and storage : 

$properties = "TotalMemory","AvailableMemory","TotalStorageCapacity","AvailableStorageCapacity"

For ($i=0;$i -lt $properties.count;$i++) {

$sum=0
$a = $properties[$i]
Get-SCVMHost | foreach {
	
		$sum += $_."$a"
			}
write-host "$a":$sum
	
	}

The output is in bytes .

Hope it is helpful to you .

Best Regards,

El

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 5:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics