Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I Use a Script to Lock the Taskbar?

Hey, Scripting Guy! How can I use a script to lock the Taskbar?-- RK Hey, RK. One of the Scripting Guys was a computer support person at the University of Washington when Windows 95 was released. This Scripting Guy has two lasting memories of those days. For one, he remembers having to install both Windows 95 and Microsoft Office on several...

How Can I Temporarily Pause a Script in an HTA?

Hey, Scripting Guy! How can I temporarily pause a script in an HTA?-- TJ Hey, TJ. You know, throughout history people have spent an enormous amount of time and energy searching for the meaning of life. The Scripting Guys have never taken part in this quest. Why not? Well, laziness aside, we know that it doesn’t matter: even if you did ...

How Can I Change the IP Address Assigned to a Computer?

Hey, Scripting Guy! How can I change the IP address assigned to a computer?-- RW Hey, RW. To tell you the truth, this is a very difficult question for the Scripting Guys to answer. Not because this is a hard script to write; as you’ll see in a minute, it’s actually pretty easy. No, this is hard for the Scripting Guys because it involves...

How Can I Disable the Keep Printed Documents Attribute on a Printer?

Hey, Scripting Guy! How can I disable the Keep Printed Documents attribute on a printer?-- JJ Hey, JJ. You didn’t mention which operating system you’re trying to do this on, but we hope it’s a Windows XP or Windows Servers 2003 computer. Why? Well, on a Windows XP or Windows Server 2003 machine, this is easy; on any other version of ...

How Can I Determine the Default Script Host on a Computer Before I Run a Script?

Hey, Scripting Guy! I know that when I run a script I can use code to determine whether the script is running under WScript or CScript. What I can’t figure out is this: how can I determine the default script host on a computer before I run a script?-- AT Hey, AT. You know, it’s not very often that people completely stump the Scripting ...

Feedback usabilla icon