Monthly Archives: July 2011

PowerShell – Anzahl Kerne und Sockets

digg_url = “http://www.andrekirst.de/2011/07/08/powershell-anzahl-kerne-und-sockets/”;digg_title = “PowerShell – Anzahl Kerne und Sockets”;digg_bgcolor = “#18191B”;digg_skin = “normal”;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; Hier mal ein nützliches Skript zur Anzeige von Anzahl der Kerne und Sockets auf einem Rechner: function Get-CPUs { $processors = get-wmiobject win32_processor if (@($processors)[0].NumberOfCores) { $cores = @($processors).count * @($processors)[0].NumberOfCores } else { $cores = @($processors).count }… (more…)