For Windows scripting, it's the future. It's got proper syntax (I know bash, and I also know actual not-congealed-over-decades languages, and bash is fucking horrific), gives you full access to the .net object model, etc. yadda.

It's a bit wordy, and you deffo want to use the PowerShell ISE environment at least at first.

Example (with a stupid syntax highlighting scheme that makes symbols a delightful salmon-pink-on-white colour):

http://www.robvanderwoude.com/sourcecode.php?src=airreg_ps