Friday, 29 June 2018

Find number of cores on each processor for Microsoft Server 2016 Licensing

 

To calculate the cost of licensing for Server 2016, it's necessary to know how many cores each CPU of your server is running.  This WMI query is useful in identifying that. 

 

$property = "systemname", "deviceid", "name", "maxclockspeed","addressWidth", "numberOfCores", "NumberOfLogicalProcessors"

Get-WmiObject -class win32_processor -Property  $property | Select-Object -Property $property


 

 

No comments:

Post a comment