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 ...

Hey, Scripting Guy! How Can I Troubleshoot Drive-Mapping Issues?

(image) Hey, Scripting Guy! We have this problem at work. Users seem to always be losing their mapped drives. It is a real mess, and we spend a couple hours every morning trying to help the users remap their drives. We have more than 160 logon scripts, and it seems that one logon script maps a drive, and then another remaps the drive ...

Hey, Scripting Guy! How Do I Calculate Server Uptime?

(image) Hey, Scripting Guy! I loved your idea about tracking what time my server came up and subtracting it from the current time. I bow at your feet! But guess what? My pointy-headed boss says that does not mean jack squat (or words to that effect). He said to really prove server uptime, I need to track the amount of time the server was ...

Hey, Scripting Guy! How Long Has My Server Been Up?

(image) Hey, Scripting Guy! Everyone at work has the idea that our network is unreliable. However, I know that our servers are seldom down. How can I prove to them that I know my stuff?-- HB(image) (image) Hi HB, You are really asking two questions. The first I can help you with. However, the veracity of your correctness claim is up to ...

Hey, Scripting Guy! How Can I Find Files’ Metadata?

(image) Hey Scripting Guy! I have a folder of media files, documents, etc., and I would like to see the metadata that is associated with each file. Can I do this with Windows PowerShell?-- EJ(image) (image) Hi EJ, I suspect that you are more interested in "data about data." Various applications store additional descriptive information ...