All Forums >> [Scripting] >> WSH & Client Side VBScript >> I have a little challenge for you all. Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Maybe this will just make for more fun, but I wrote this snippet a while back in a rush, has 1 ridiclously long function in it, few other subs. Somewhat of a health check. But part of it was detecting how many cores. Has rotating logs built into it, cpu, memory status.
Could be tweaked, then copied to a remote machine run and output captured/sent back.
To determine the LOGICAL number of CPUs, get the info from the Registry: HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\system\CentralProcessor\ count the number of folders.
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch