Scripting Blog [archived]

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

Hey, Scripting Guy! What’s Going on in the Service Host Process?

(image) Hey, Scripting Guy! I think I might have a problem on my server. When I go into Task Manager, all the processes that are eating up the most CPU time and the most memory are the stupid svchost.exe process. I know this is the Service Host process and that it is being used by multiple services, but how can I know what is really going ...

How Can I Change a Service Description?

(image) Hey, Scripting Guy! How can I change a service description?-- DD(image) (image) (image) Hey, DD. Well, we hope you’re happy, DD. Now the Scripting Guy who writes this column will never be able to sleep again – and it’s all your fault! Sure, we’ll explain what we mean by that; after all, now that we are no longer able to ...

How Can I Get the Uptime of a Service?

(image) Hey, Scripting Guy! How can I get the uptime of a service?-- JC(image) (image) (image) Hey, JC. You know, if you could have seen the Scripting Guy who writes this column this morning you would have reconsidered asking him a question about uptime. Although he woke up in plenty of time, even turning off the alarm before it was due to...

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 Disable a Service?

(image) Hey, Scripting Guy! How can I disable a service?-- DS(image) (image) (image) Hey, DS. You know, the Scripting Guys seem to have stumbled upon a great idea. In our last column, we showed people how to disable the LMHosts file. Today, we’re going to show everyone how to disable a service. If we continue down this path, we’ll soon...