11---
22description : Describes how to write comment-based help content for functions and scripts.
33Locale : en-US
4- ms.date : 01/09 /2025
4+ ms.date : 05/21 /2025
55no-loc : [.SYNOPSIS, .DESCRIPTION, .PARAMETER, .EXAMPLE, .INPUTS, .OUTPUTS, .NOTES, .LINK, .COMPONENT, .ROLE, .FUNCTIONALITY, .FORWARDHELPTARGETNAME, .FORWARDHELPCATEGORY, .REMOTEHELPRUNSPACE, .EXTERNALHELP]
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help?view=powershell-5.1&WT.mc_id=ps-gethelp
77schema : 2.0.0
@@ -227,58 +227,54 @@ function Verb-Noun {
227227}
228228```
229229
230- ### .EXAMPLE
230+ ### ` .EXAMPLE `
231231
232232A sample command that uses the function or script, optionally followed by
233233sample output and a description. Repeat this keyword for each example.
234234
235- ### .INPUTS
235+ ### ` .INPUTS `
236236
237237The .NET types of objects that can be piped to the function or script. You can
238- also include a description of the input objects.
238+ also include a description of the input objects. Repeat this keyword for each
239+ input type.
239240
240- ### .OUTPUTS
241+ ### ` .OUTPUTS `
241242
242243The .NET type of the objects that the cmdlet returns. You can also include a
243- description of the returned objects.
244+ description of the returned objects. Repeat this keyword for each output type.
244245
245- ### .NOTES
246+ ### ` .NOTES `
246247
247248Additional information about the function or script.
248249
249- ### .LINK
250+ ### ` .LINK `
250251
251- The name of a related topic. The value appears on the line below the ".LINK"
252- keyword and must be preceded by a comment symbol ` # ` or included in the
253- comment block.
254-
255- Repeat the ` .LINK ` keyword for each related topic.
256-
257- This content appears in the Related Links section of the help topic.
252+ The name of a related topic. Repeat this keyword for each related topic. This
253+ content appears in the Related Links section of the Help topic.
258254
259255The ` .LINK ` keyword content can also include a Uniform Resource Identifier
260256(URI) to an online version of the same help topic. The online version opens
261257when you use the ** Online** parameter of ` Get-Help ` . The URI must begin with
262- " http" or " https" .
258+ ` http ` or ` https ` .
263259
264- ### .COMPONENT
260+ ### ` .COMPONENT `
265261
266262The name of the technology or feature that the function or script uses, or to
267263which it's related. The ** Component** parameter of ` Get-Help ` uses this value
268264to filter the search results returned by ` Get-Help ` .
269265
270- ### .ROLE
266+ ### ` .ROLE `
271267
272268The name of the user role for the help topic. The ** Role** parameter of
273269` Get-Help ` uses this value to filter the search results returned by ` Get-Help ` .
274270
275- ### .FUNCTIONALITY
271+ ### ` .FUNCTIONALITY `
276272
277273The keywords that describe the intended use of the function. The
278274** Functionality** parameter of ` Get-Help ` uses this value to filter the search
279275results returned by ` Get-Help ` .
280276
281- ### .FORWARDHELPTARGETNAME
277+ ### ` .FORWARDHELPTARGETNAME <Command-Name> `
282278
283279Redirects to the help topic for the specified command. You can redirect users
284280to any help topic, including help content for a function, script, cmdlet, or
@@ -288,7 +284,7 @@ provider.
288284# .FORWARDHELPTARGETNAME <Command-Name>
289285```
290286
291- ### .FORWARDHELPCATEGORY
287+ ### ` .FORWARDHELPCATEGORY `
292288
293289Specifies the help category of the item in ` .FORWARDHELPTARGETNAME ` . Valid
294290values are ` Alias ` , ` Cmdlet ` , ` HelpFile ` , ` Function ` , ` Provider ` , ` General ` ,
@@ -299,7 +295,7 @@ this keyword to avoid conflicts when there are commands with the same name.
299295# .FORWARDHELPCATEGORY <Category>
300296```
301297
302- ### .REMOTEHELPRUNSPACE
298+ ### ` .REMOTEHELPRUNSPACE <PSSession-variable> `
303299
304300Specifies a session that contains the help topic. Enter a variable that
305301contains a ** PSSession** object. This keyword is used by the
@@ -310,7 +306,7 @@ commands.
310306# .REMOTEHELPRUNSPACE <PSSession-variable>
311307```
312308
313- ### .EXTERNALHELP
309+ ### ` .EXTERNALHELP `
314310
315311Specifies an XML-based help file for the script or function.
316312
0 commit comments