Scripting Blog

A place to learn about PowerShell and share stories of automation

A PowerShell Carol in which Ebenezer Script Learns WMI

   Summary: A Windows PowerShell Carol in which Ebenezer Script learns how easy it to use WMI to check disk space usage.   Hey, Scripting Guy! I am wondering if Ebenezer Script will learn how easy it is to work with WMI from inside Windows PowerShell. -- CS   Hello CS, Microsoft Scripting Guy Ed Wilson here. It is almost ...

Hey, Scripting Guy! How Can I Create a Disk Space Report in a Word Document?

    Hey, Scripting Guy! We are having problems with several of our servers at work. Several of them were upgraded from Windows NT 4, and as a result, we are constantly running into disk space issues on the C: drive. I would rather manage the problem than take the servers down and rebuild them because we already have budget to ...

Hey, Scripting Guy! Does the Win32_Volume WMI Class Support Filtering on the Name Property?

  Hey, Scripting Guy! I have a problem using the Win32_Volume WMI class on my Windows Vista computer. I keep getting an error. I have searched the Internet using Bing and other search engines, but I cannot find the answer to my problem. It should be so simple; all I want to do is filter the results by the drive name in the WMI query. ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/11/09)

Share this post: Hey Scripting Guy! I stumbled across the TechNet Script Center recently while trying to solve a problem I had at work. I had heard about scripting, of course, but had never taken the time to learn about it. I was able to find a script that resolved my issue at work, but now I am thinking I would like to learn...

Hey, Scripting Guy! How Can I Tell How Much Free Disk Space a User Has?

I know most people have heard of Moore’s Law that is named after Gordon Moore, but have you ever heard of Bob’s law? Bob was the senior network administrator when I first became an IT pro, and he created what he called Bob's Law. Briefly stated it says this: "A user's demand for storage space will always expand to meet the available ...