In Powershell Ver 3.0 and above you can comment and un-comment multiple lines in one go, using the below trick. Suppose you have a code and you want to comment all the lines of code starting from Line1 – Line12 like in the below example, obviously…