You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should always write comment-based help in your scripts and functions.
Comment-based help is formatted as follows:
functionGet-Example {
<#.SYNOPSIS A brief description of the function or script..DESCRIPTION A longer description..PARAMETERFirstParameter Description of each of the parameters. Note: To make it easier to keep the comments synchronized with changes to the parameters, the preferred location for parameter documentation comments is not here, but within the param block, directly above each parameter..PARAMETERSecondParameter Description of each of the parameters..INPUTS Description of objects that can be piped to the script..OUTPUTS Description of objects that are output by the script..EXAMPLE Example of how to run the script..LINK Links to further documentation..NOTES Detail on what the script does, if this is needed.#>
Comment-based help is displayed when the user types help Get-Example or Get-Example -?, etc.
Your help should be helpful. That is, if you've written a tool called Get-LOBAppUser, don't write help that merely says, "Gets LOB App Users." Duh.
Further information: You can get more on the use of comment-based help by typing help about_Comment_Based_Help within PowerShell.
You should always write comment-based help in your scripts and functions.
Comment-based help is formatted as follows:
Comment-based help is displayed when the user types
help Get-Example
orGet-Example -?
, etc.Your help should be helpful. That is, if you've written a tool called
Get-LOBAppUser
, don't write help that merely says, "Gets LOB App Users." Duh.Further information: You can get more on the use of comment-based help by typing
help about_Comment_Based_Help
within PowerShell.Reference
The text was updated successfully, but these errors were encountered: