Commenting

suggest change

Comment 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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents