Scripting Blog [archived]

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

How Can I Move a Computer From an Unknown OU into a Known OU?

(image) Hey, Scripting Guy! How can I move a computer from an unknown OU into a known OU?-- DB(image) (image) (image) Hey, DB. You know, a lot of people take a look at system administration scripting and think, “Well, it might be useful, but it sounds kind of boring.” After all, clearing event logs and changing user passwords are ...

How Can I Use Windows PowerShell to Start a Service on a Remote Computer?

(image) Hey, Scripting Guy! How can I use Windows PowerShell to start a service on a remote computer?-- NA (image) (image) (image) Hey, NA. You know, a few years ago a professor named Francis Fukuyama wrote a book called The End of History and the Last of Man, a book which stated (well, sort of) that now that the Cold War was over nothing ...

How Can I Write a Script That Prevents the Screensaver from Starting?

(image) Hey, Scripting Guy! How can I write a script that prevents the screensaver from coming on? Sometimes I get interrupted for a couple minutes (say I get a phone call or something) and the screensaver kicks in, which promptly locks the computer. Is there a way to keep that from happening?-- SS(image) (image) (image) Hey, SS. We hope ...