ScriptInfo 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 the 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 OutputType Overridden. Gets the .NET Framework types that are 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 RemotingCapability  Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. (Inherited from CommandInfo)
public property ScriptBlock Gets the script block that contains the statements and expressions of the script.
public property Visibility  When overridden in a derived class, gets or sets a constant that identifies whether the element is visible outside the runspace. For example, an element can be a private member of a module and therefore not visible to commands, such as pipeline commands, that are coming from outside the runspace. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft. All rights reserved.