ExternalScriptInfo Properties
| Name | Description | |
|---|---|---|
|
CommandType | Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script. (Inherited from CommandInfo) |
|
Definition | Overridden. Gets a definition of the script. |
|
Module | Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo) |
|
ModuleName | Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo) |
|
Name | Gets the name of the command. (Inherited from CommandInfo) |
|
OriginalEncoding | Gets the original encoding used to convert the characters of the script to bytes. This property is introduced in Windows PowerShell 2.0. |
|
OutputType | Overridden. Gets the .NET Framework types returned by the script. |
|
Parameters | When overridden in a derived class, gets the parameters of the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo) |
|
ParameterSets | Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo) |
|
Path | Gets the path to the script file. |
|
RemotingCapability | Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. (Inherited from CommandInfo) |
|
ScriptBlock | Gets the external script. |
|
ScriptContents | Gets the original contents of the script. This property is introduced in Windows PowerShell 2.0. |
|
Visibility | Overridden. Gets and sets a constant that identifies whether the script is visible outside the runspace. For example, a script can be a private member of a module and therefore not visible to commands, such as pipeline commands, coming from outside the runspace. This property is introduced in Windows PowerShell 2.0. |
Reference
ExternalScriptInfo ClassSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.