Off-topic, but imo HN needs more PS-promoting posts like this. I have the impression there are still tons of people out there who&#x27;re stuck in the &#x27;windows has no proper command line so administration means ugly batch files and registry hacks&#x27; mindset. Examples like this should open their eyes. Sure you can&#x27;t pipe text around (and go through hoops to parse it corectly) like in bash so it takes some getting used to depending on your background, but one you get a hold of it you realize it really is <i>power</i>shell.