ExternalScriptInfo
Class
Definition
Provides information for MSH scripts that are directly executable by MSH but are not built into the runspace configuration.
public class ExternalScriptInfo : System.Management.Automation.CommandInfo
- Inheritance
Inherited Members
System.Management.Automation.CommandInfo
Properties
| Definition |
Gets the path to the script file. |
| OriginalEncoding |
Gets the original encoding of the script. |
| OutputType |
The output type(s) is specified in the script block |
| Path |
Gets the path to the script file. |
| ScriptBlock |
The script block that represents the external script |
| ScriptContents |
Gets the original contents of the script. |
| Source | |
| Visibility |
Determine the visibility for this script... |
Methods
| ValidateScriptInfo(PSHost) |
Validates the external script info |