Mar 31, 2005 - General, Scripting, Windows XP    No Comments

How can I use a script to determine the number of processors in a machine?

You can use a Windows Management Instrumentation (WMI) script to easily ascertain the number of processors on a machine. To do so, use these VBScript commands in a script file:

Set oShell = WScript.CreateObject(“WScript.Shell”)
Set oEnv = oShell.Environment(“SYSTEM”)

Related Posts Plugin for WordPress, Blogger...

Got anything to say? Go ahead and leave a comment!