Scripting Blog [archived]

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

Create a Custom Object from WMI by Using PowerShell

Summary: Create a custom object from WMI to display processor and operating system information using Windows PowerShell.   (image) Hey, Scripting Guy! Your script yesterday was pretty cool. However, in addition to obtaining information about the processor, I also need to know operating system is 32-bit or 64-bit, the version of Windows ...

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 ...

Use PowerShell to Modify Your Environmental Path

Summary: Learn how to use Windows PowerShell to work with your environmental path variable.   Weekend Scripter: Use Windows PowerShell to Modify Your Path Microsoft Scripting Guy Ed Wilson here. Welcome back to the weekend and Guest Blogger Sean Kearney. Read more about Sean and his previous guest blog posts. Now without further ado (or ...

Use the BSonPoSH PowerShell Module to Check AD Replication

Summary: Learn how to use the BSonPoSH Windows PowerShell module to check Active Directory replication and other tasks.   (image) Hey, Scripting Guy! Your article yesterday left me wondering. If there are so many cool things in the BSonPoSH module, why did you only show a couple of commands? Are there other things you can do with that ...

Use the BSonPoSH PowerShell Module to Simplify AD Tasks

Summary: Learn how to use the BSonPoSH Windows PowerShell module to simplify Active Directory management tasks.   (image) Hey, Scripting Guy! I am wondering if there are any modules that can help me with routine, daily administration tasks. I really hate to re-invent the wheel, so if you can point the way to a nice, juicy module, I would ...