Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell Multiple-Line Comments

$
0
0

Summary: Use Windows PowerShell multiple-line comments in your script or from the console.

Hey, Scripting Guy! Question How do you type a multiple-line comment?

Hey, Scripting Guy! Answer Begin the comment with the <# tag, and end the comment with the #> tag:

<#

 this is a comment

            on several

            different

            lines

 #>


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>