Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Can I Be Informed When a Portable Drive Is Added by My Computer?

 Hey, Scripting Guy! I would love to be able to write a Windows PowerShell script that will inform me when a portable drive is added to my computer. Do you have ideas you could suggest?-- RCHello RC, Microsoft Scripting Guy Ed Wilson here. Well it has already been a rather interesting week. I bought a new computer and loaded ...

Hey, Scripting Guy! How Can I Write an Event-Driven Script?

 Hey, Scripting Guy! I have a problem at work. It is not with the pointy-headed boss, but I believe the problem is probably related to him anyway. There is this application that runs on a workstation in our computer room. It is not a client server application, and of course the workstation is not really a server—it is ...