Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I Tell if the Screen Saver is Active?

Hey, Scripting Guy! How can I tell if the screen saver is active and, if so, how long it has been running?-- MS 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 saver, and we didn’t know of ...

How Can I Modify a Disk Quota Entry Under Windows 2000?

Hey, Scripting Guy! How can I modify a disk quota entry under Windows 2000?-- CL Hey, CL. We have some good news and some bad news for you. The bad news is that we’re doing one of those good news-bad news things that nobody ever likes. The good news is that you actually can modify a disk quota entry on a Windows 2000 computer. You can’t...

How Can I List All the Songs in the Windows Media Library?

Hey, Scripting Guy! How can I get a list of all the songs (and their artists) in the Windows Media Library?-- KF Hey, KF. Three words: practice, practice, practice. You know, the old joke about how do you get to Carnegie Hall and this is kind of a music-related question and Carnegie Hall is where they play music and we were just trying to be...

How Can I Change the Printer Port for a Printer?

Hey, Scripting Guy! How can I change the printer port for a printer? For example how can I change it from FILE: to LPT1:?-- HK Hey, HK. Despite the Scripting Guys reputation as sophisticated intellectuals - really? We don’t have a reputation as sophisticated intellectuals? Really? This is very distressing. Anyway, what we were going to ...

How Can I Change File Locations for Microsoft Word?

Hey, Scripting Guy! In Microsoft Word, how can I change the file locations for User Templates and Workgroup Templates?-- SB Hey, SB. At least one of the Scripting Guys has always had a lifelong fear that he would write, say, the greatest novel ever written, except that no one would know about it or care about it. Well, not until he died, of...