Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Tell Which Outlook Rules I Have Created?

(image)    (image) Hey, Scripting Guy! I don’t know about you, but it seems that I am getting overwhelmed at work with e-mail. In the old days, e-mail was not much of a problem and it was a great way to communicate. Today, I get so much e-mail that it would actually take all day for me to read it. The problem is that some of ...

Hey, Scripting Guy! With Windows PowerShell Can I Get a List of E-Mail I Have Marked for Follow-Up?

(image) (image) Hey, Scripting Guy! I don’t know about you, but I get a ton of e-mail every day. Of course, I use inbox rules to filter my e-mail, but one thing that I seem to miss is e-mail that has been marked for follow-up. I would love to see a Windows PowerShell script that will troll my inbox and display a list of e-mail messages ...

Hey, Scripting Guy! Can I Call WMI Methods More Easily with Windows PowerShell 2.0?

 (image)   (image) Hey, Scripting Guy! I enjoy working with WMI, but it can be a bit complicated to make it do anything. It is great at retrieving information, and in conjunction with the Windows PowerShell Get-WMIObject cmdlet, it is really easy to obtain lots of information about our servers. In fact, WMI is one of the ...

Hey, Scripting Guy! How Can I Use WMI to Set the Screen Saver Timeout Value on Workstations?

(image)     (image) Hey Scripting Guy! I have been trying to set the screen saver time out value on my workstations by using WMI. It is not working. Can you help me get WMI working?-- HR (image) Hello HR, Microsoft Scripting Guy Ed Wilson here. My teapot is empty. I was getting ready to head downstairs to fix me a ...

Hey, Scripting Guy! How Can I Ensure My Scripts Won’t Fail on Various Windows Operating Systems?

(image)  (image) Hey, Scripting Guy! I have a mixture of operating systems at work. We have Windows XP on the desktop, a few Windows Vista machines, Windows 7 on a few computers so far, Windows 2003 in the server room, and Windows 2008 and a couple of Windows 2008 R2 computers that are running Hyper-V on Windows Core edition. I know ...