Welcome to the Script Center! Consider this your one-stop shop for all your Windows system administration scripting needs. If you're not finding what you need here, let us know what else you'd like to see.
Granted, the WMI class Win32_Processor isn’t exactly new. However, being able to determine whether a computer has a 32-bit processor or a 64-bit processor definitely is. And so is the ability to distinguish between physical processors and logical processors.
OK, true: with the possible exception of one of the Scripting Guys (who for some reason has two batting gloves for his right hand and no batting gloves for his left hand) you probably do know your left from your right. But what about the strings you use in your scripts? Can you grab x numbers of characters from the left of a string, or the right of a string, or even – gasp! – from the middle of a string. Now you can.
If you’re going to delete something, you might as well do it right. Why stop at deleting a single registry key when you can delete all its subkeys too? In the August edition of TechNet Magazine, the Scripting Guys show you how.
You could keep typing the same constants into your scripts over and over again, but how much fun is that? Instead, give Windows Script Components a try and see how they can change the way you work with enumerations in your Compute Cluster Server scripts.