Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExternalScriptInfo Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides information about Windows PowerShell scripts that are directly executable by Windows PowerShell but are not built into the runspace configuration.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System::Object
  System.Management.Automation::CommandInfo
    System.Management.Automation::ExternalScriptInfo

public ref class ExternalScriptInfo : CommandInfo

NameDescription
System_CAPS_pubpropertyCommandType

Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script.(Inherited from CommandInfo.)

System_CAPS_pubpropertyDefinition

Gets a definition of the script.(Overrides CommandInfo::Definition.)

System_CAPS_pubpropertyModule

Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyModuleName

Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyName

Gets the name of the command.(Inherited from CommandInfo.)

System_CAPS_pubpropertyOriginalEncoding

Gets the original encoding used to convert the characters of the script to bytes. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyOutputType

Gets the .NET Framework types returned by the script.(Overrides CommandInfo::OutputType.)

System_CAPS_pubpropertyParameters

When overridden in a derived class, gets the parameters of the command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyParameterSets

Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyPath

Gets the path to the script file.

System_CAPS_pubpropertyRemotingCapability

Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. Introduced in Windows PowerShell 3.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyScriptBlock

Gets the external script.

System_CAPS_pubpropertyScriptContents

Gets the original contents of the script. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertySource

Gets the source of this command.

This element is introduced in Windows PowerShell 5.0.(Overrides CommandInfo::Source.)

System_CAPS_pubpropertyVersion

Gets the command info version.(Inherited from CommandInfo.)

System_CAPS_pubpropertyVisibility

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.(Overrides CommandInfo::Visibility.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodResolveParameter(String^)

Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using the parameter resolution algorithm in Windows PowerShell. Introduced in Windows PowerShell 3.0.(Inherited from CommandInfo.)

System_CAPS_pubmethodToString()

Converts the information object of the derived class to a string. (Inherited from CommandInfo.)

System_CAPS_pubmethodValidateScriptInfo(PSHost^)

Validates the external script information. Introduced in Windows PowerShell 3.0.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft