Windows PowerShell came out last year and got great reviews from many .net bloggers (Hanselman comes to mind). It seemed to be touted as a great new utility that somehow made everything that you would ever do on the command line easier, and integrated with .Net. However, the more I read about it, the more it seems to be a tool that is great for IT professionals, and not much use for developers.
Do you use PowerShell in your dev work? If so, how? Is it worth learning?
Note: After seeing the responses so far, I think it is valid to conclude that PowerShell can be very useful to a .Net developer. However, there is no one answer below that I can label as the answer (so please forgive me for not doing so). I am voting up each answer that I have found helpful.
Personally, I'm using Python for automating tasks, using WMI if needed. I think that this combination covers most of my needs.
I tested PowerShell, it looks fine to me, but it doesn't worth learning a whole new tool. Besides that, there are excellent resources online to master PowerShell if you need or wants to (PowerShell Live), or even recipes to accomplish tasks without having to pass the whole learning curve for yourself.
I'm an admin by trade and just starting in the "Dev" world, but I see that PowerShell can be very useful to developers in a number of ways.
I use PoSH for any 'repetita' job I've to do for administering networks, domains, computers, AD users, text editing, files searching, file-servers migrations, monitoring and also have fun!
I use it very little for actual dev work. I've used it to setup virtual directories automatically and execute a scipt that sets up IIS with the same settings on all our dev machines
I use it to automate as much things as I can. One example is Web UI Automation, to ease application development/testing.
i also use it to generate random input files for various programs. For example, one application is expecting an XML file, and I have a script to build that file with random values and a unique id based on the current time.
I don't use it heavily, but I use it every day.
It's never come in use as part of my development role, but every now and then I get a task that I'd write a small program to automate, which I now force myself to do in powershell and it takes less time.
For example, I recently moved hundredsthousands of files from one server to another using xcopy and forgot to set the attribute to preserve the creation dates on the files. Powershell to the rescue. Within ten minutes I had a script written and tested that copied the creation dates over without having to re-copy the files.