Commenting
suggest changeComment out a line in a PowerShell script by starting it with # (hash):
# This is a comment in PowerShell
Get-ChildItem
You can also have multi-line comments using <# and #> at the beginning and end of the comment respectively.
<#
This is a
multi-line
comment
#>
Get-ChildItem
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents