PowerShell Tip #2 from the Winner of the Advanced Category in the 2013 Scripting Games

Tip #2 - Comment (Document) your code!

This is another one of those tips that probably isn't very popular, but regardless of how good you are at writing PowerShell scripts and functions, they're useless if no one else can figure out how to use them. You might be thinking that you're the only one who uses the PowerShell code that you write, but I'm sure that you like to go on vacation just like the rest of us and none of us are going to live forever.

In my tip #1 blog you learned that you need to "Read the Help!". This tip builds on the first one because it allows others to "Read the Help!" for the PowerShell code that you write.

The type of help that you want to provide for your PowerShell functions and scripts is "Comment Based Help". Click here to be redirected to the original post of this article on the author’s blog site where you can read the remainder of the article.

µ

About Mike F Robbins

Mike F. Robbins is a Microsoft Cloud and Datacenter Management MVP for Windows PowerShell. He is the creator of The PowerShell Conference Book, author of PowerShell 101: The No-Nonsense Beginner’s Guide to PowerShell, co-author of Windows PowerShell TFM 4th Edition, and a contributing author of a chapter in the PowerShell Deep Dives book. Mike is also the leader and co-founder of the Mississippi PowerShell User Group. He blogs at mikefrobbins.com and can be found on twitter @mikefrobbins.

2 thoughts on “PowerShell Tip #2 from the Winner of the Advanced Category in the 2013 Scripting Games

  1. Pingback: PowerShell Tip #3 from the Winner of the Advanced Category in the 2013 Scripting Games | PowerShell.org

  2. Pingback: PowerShell Tip #3 from the Winner of the Advanced Category in the 2013 Scripting Games | Mike F Robbins

Comments are closed.