Powershell and square brackets

Have you ever tried mass renaming files with square bracket in the path? Then I’m pretty sure you failed, because you can’t escape them easily. You have to do it manually by setting up temporary variables and replace ‘[]’ by ‘“[“]’.  It’s a nightmare. Find a box with a bash shell or install cygwin. Then simply do this:

$ for i in * ; do mv "$i" "newname $i" ; done

instead of this shit! That makes PowerShell almost useless for file operations 🙁