Scripting Blog [archived]

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

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

(image)   (image) 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 ...

Hey, Scripting Guy! How Can I Change Browser History Settings via the Registry?

(image)   (image) Hey, Scripting Guy! Awhile back, I visited a really cool Web site (not yours), but I did not save it as a favorite. The site does not show up in my History folder. Is there any way I can use a script to retrieve this information? By the way, I enjoy reading about you in your opening stories. If I do not hear from ...

Hey, Scripting Guy! Can I Use the Registry to Retrieve a List of the Most Recently Run Programs?

(image)   (image) Hey, Scripting Guy! When I work on a computer, I often run many commands. I generally use Run from the Start menu to launch these programs. When I am finished, I use a script I copied from the Scripting Guys archive to display all the commands that I ran and then I save them in a Notepad file. However, that script...

Hey, Scripting Guy! How Can I List All User Profiles on a Remote Computer?

(image)   (image) Hey, Scripting Guy! I am trying to administer a remote computer using Windows PowerShell 2.0, and I need to find out what profiles are stored on that computer. I found an old VBScript that reads the registry, but it looks like it will be a lot of work to adapt it and to make it work. -- JB (image) Hello JB, ...