We have a Windows cluster here at work and I have been tasked with tracking its usage. Management wants to know how many cores I have on each of my nodes as well as how many cores are in use by a node when a given job is submitted. Does anyone know the Powershell commands associated with obtaining the number of cores per machine as well as the number of cores in use by a node?
I've tried sever things but can't seem to get the right thing. The last command I tried was: $m = get-wmiobject Win32_ComputerSystem -computer node_1 $m.NumberOfProcessors
This returns a value of 2 but I know that node_1 has 4 CPU on it.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.