Supporting -Online

To support the Online parameter of Get-Help you need to defined by the HelpUri property of the CmdletBinding() attribute for your function. The value of this property is a URL that points to the webpage containing the documentation. If you create MAML-based help, it also needs to be added to the XML file.


Script-based example:

function Verb-Noun

    Param ($Parameter1)

C# example for a compiled cmdlet:

[Cmdlet(VerbsCommunications.Write, "Output",
        HelpUri = "",
        RemotingCapability = RemotingCapability.None)]
public sealed class WriteOutputCommand : PSCmdlet

For more information, see the following articles: