ExternalScriptInfo Properties

  Name Description
public property CommandType  Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script. (Inherited from CommandInfo)
public property Definition Overridden. Gets a definition of the script.
public property Module  Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property ModuleName  Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property Name  Gets the name of the command. (Inherited from CommandInfo)
public property OriginalEncoding Gets the original encoding used to convert the characters of the script to bytes. This property is introduced in Windows PowerShell 2.0.
public property OutputType Overridden. Gets the .NET Framework types returned by the script.
public property 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)
public property ParameterSets  Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property Path Gets the path to the script file.
public property RemotingCapability  Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. (Inherited from CommandInfo)
public property ScriptBlock Gets the external script.
public property ScriptContents Gets the original contents of the script. This property is introduced in Windows PowerShell 2.0.
public property Source Overridden.  
public property Version  (Inherited from CommandInfo)
public property 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.


Show:
© 2014 Microsoft