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

PowerTip: Add Multiple-line Comments in PowerShell

$
0
0

Summary: Learn how to add multiple-line comments in Windows PowerShell.

Hey, Scripting Guy! Question How can I  use Windows PowerShell to add a comment that will wrap over several lines
           if I do not want to use a hash tag for each line?

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

<#

   this is a

   multiple line comment

#>


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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