TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Converting VBScript's Err Object HelpFile Property


Windows PowerShell


Definition: Sets or returns a fully qualified path to a Help File.

Err Object HelpFile Property

If an error is associated with a topic in a help file you can retrieve that information using the HelpLink property; the first part of the link will be the fully-qualified path to the help file itself. This command assigns the HelpLink property for the most recent error in the error collection to the variable $a:



$a = $error[0].helplink


Return to the VBScript to Windows PowerShell home page

Show:
© 2016 Microsoft