Commenting

suggest change

To comment on power scripts by prepending the line using the \# (hash) symbol

# 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