Windows Powershell is Microsoft’s command-line and scripting environment for Windows, targeted at system administrators and developers, but usable by anyone. One of the most brilliant aspects of Powershell is that it uses the same .NET libraries that you can use for programming in C#, giving your Windows scripts far more power than you have when working with, say, .bat files.

While working at Microsoft (and doing quite a bit of scripting in Powershell) I wrote a couple of articles about Powershell scripting. I’ve recently been told that they’re still useful, so I’ve preserved them here:

I had originally intended to continue with articles about looping constructs, declaring functions, and so forth, but I ended up being hired by Amazon and becoming very, very busy. I don’t have a Windows machine at home, but I do have access to Windows machines if I need one, so I could continue with more articles if provided proper incentive (kudos work!) I do hope that they are helpful, since I feel that if you work on Windows, being able to automate things with Powershell is a huge help–and since it’s installed by default on Windows now, your scripts can be run on any modern Windows machine.