if we want to comment out multiple line in the Powershell ISE. there is a shotcut to do so.
comment out multi-line:
use "ALT + SHIFT" to move down to the end of the last line that you want to comment out,
then use "SHIFT + #" to add # to all lines being selected.
uncomment multi-line:
use "ALT + SHIFT" to move down to the end of the last line that you want to uncomment,
then press Delete button to undo all the comment out code.
having more fun with PowerShell !
No comments:
Post a Comment