Thursday, August 7, 2014

PowerShell TTUC #16 – Adding Comment using # and <# #>

PowerShell TTUC (Tips, Trick, and Useful Commands) – Adding Comment using # and <# #>

In all versions of PowerShell you can use # to a text after it a comment. 

Example:

# This a PowerShell comment

In PoweShell V2 and above you can <# #> to make a block of lines comments

Example:

<# First link

Second Line – This is a PowerShell Script

#>

0 comments:

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More