Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Use PowerShell and WMI to Get Processor Information

Summary: Learn how to get the number of processor cores via WMI and Windows PowerShell. (image) Hey, Scripting Guy! I need to perform an audit of computers on our network. Specifically, I am tasked with obtaining CPU information. I need the processor speed, number of cores, and number of logical processors. I feel like I should be able to use ...

Schedule PowerShell Scripts that Require Input Values

  Summary: Learn how to use the Windows Task Scheduler to run Windows PowerShell scripts that require input values.   (image) Hey, Scripting Guy! I have a Windows PowerShell script that collects information from a computer and writes the results to a text file. I would like to be able to schedule the running of this Windows ...

Use Scheduled Tasks to Run PowerShell Commands on Windows

   Summary: Learn how to use the Windows Task Scheduler to run Windows PowerShell commands automatically.   (image) Hey, Scripting Guy! One of the things that is a bit frustrating about reading the Hey, Scripting Guy! Blog is that it seems as if you expect network administrators to sit in front of their computer screens manually ...

Validate PowerShell Parameters Before Running the Script

   Summary: Learn how to use Windows PowerShell parameter validation attributes to check parameters before running the script.   (image) Hey, Scripting Guy! I have a problem that I think that you can help me with. I have created a Windows PowerShell script that allows Help Desk people to enter information about users such as the...

Learn How to Run PowerShell Scripts Against Multiple Computers

   Summary: Microsoft Scripting Guy Ed Wilson teaches you how to run Windows PowerShell Scripts against multiple computers in this step-by-step article.   (image) Hey, Scripting Guy! I am wondering on the best way to cause my script to work against multiple computers. -- LS   (image) Hello LS, Microsoft Scripting Guy Ed ...