Aug 13, 2014 Loreia, Although the block comments in PowerShell scripts are now styled EXACTLY how I want, the block comments in KiXtart script aren't. I've modified the KiXtart line in. PowerShell Comment Based Help. In this tutorial we will see about PowerShell Comment Based Help. Help information help us and others, that we will distribute our scripts or functions. You can contain a lot in information in the help section.We are able to provide help on functions and scripts.
I don't believe there is a 'comment block of code' function in the ISE by default. However, there is a 'block select' functionality in the ISE which allows you to type on multiple lines at once. To do that, put your cursor at the start of the first line.
![Powershell comment block remarks Powershell comment block remarks](/uploads/1/2/5/4/125401129/905279308.png)
![Block comment powershell ise Block comment powershell ise](http://www.sapien.com/blog/wp-content/uploads/2014/10/image5.png)
Then, while holding Alt + Shift, use your down arrow to move the cursor down to the last line you want to comment. (You're actually block-selecting multiple lines, zero columns). Then just type '# ' to inject the hash and space at the beginning of those lines.If you wanted to get rid of those comments, you can use Alt+Shift while selecting all of the '# ' characters on each commented line, and then you get rid of them all with one press of Backspace or Delete.