Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Hide My Desktop Wallpaper?

(image) I give a lot of presentations, and the background picture of my baby alpaca, while fascinating to me, probably does not have the same level of attraction to my clients. I know I can mouse around and change the desktop picture to some bland color, but I prefer to run a script and make the change because I can have the same script ...

Hey, Scripting Guy! How Can I Have Computer Configuration Information Written to an HTML File?

(image) Hey, Scripting Guy! I need to obtain some basic configuration information from my computers on the network. It would be nice if the script would write the output in an HTML file that we could copy to our internal Web server. This would give us easy access to the information. Whadda ya say?- JE(image) (image) Hi JE, This morning, it...

How Can I Change the Description for a Computer?

(image) Hey, Scripting Guy! When I use Windows Explorer to connect to a remote computer, I can see a description of that computer in the Details pane. How can I change the description for a computer?-- GF(image) (image) (image) Hey, GF. Just to make sure everyone is clear what we’re talking about, we are not talking about the Description...

How Can I Tell if the Screen Saver is Active?

(image) Hey, Scripting Guy! How can I tell if the screen saver is active and, if so, how long it has been running?-- MS(image) (image) (image) Hey, MS. Interesting question; we don’t think we’ve ever been asked that before. And at first it had us stumped; after all, there aren’t any WMI classes or COM objects for managing the screen ...

How Can I Get Just the User Name When Using the Win32_ComputerSystem Class?

 (image) Hey, Scripting Guy! I’m using the Win32_ComputerSystem class to get the name of the logged-on user. The name comes back formatted like this: Domain\Name. How can I extract just the user name?-- KW(image) (image) (image) Hey, KW. As our much-beloved and highly-respected editor reminded us the other day, instead of spending ...