Scripting Blog [archived]

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

Avoid Overload by Scaling and Queuing PowerShell Background Jobs

Summary: Use scaling and queuing Windows PowerShell background jobs to avoid system overload.   Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce the return of Boe Prox to the blog.   (image) Boe Prox is currently a senior systems administrator with BAE Systems. He has been in the IT industry since 2003 and has ...

Creating PowerShell Drives for Fun and Profit

Summary: Learn different ways to work with Windows PowerShell drives, including using WMI to find the root.   (image) Hey, Scripting Guy! I have been trying to grasp this idea of Windows PowerShell drives. I am not certain how they are useful, or how I can find information about them. Can you help? —BP   (image) Hello BP, ...

Simplify Creating Items with PowerShell Providers

Summary: Learn how to use the same syntax to create different types of items via Windows PowerShell providers.   (image) Hey, Scripting Guy! I am wondering about the Windows PowerShell idea of providers. I have seen you mention them before, but not recently. I am not even sure that the Scripting Wife has talked about Windows PowerShell ...

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