Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FunctionInfo Properties

  Name Description
public property CmdletBinding Gets a value that indicates whether the function uses the same parameter binding that compiled cmdlets use. This property is introduced in Windows PowerShell 2.0.
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 DefaultParameterSet Gets the name of the parameter set that is used if Windows PowerShell cannot determine which parameter set to use when the function is run. This property is introduced in Windows PowerShell 2.0.
public property Definition Overridden. Gets the string definition of the function.
public property Description Gets or sets a description of the function. This property is introduced in Windows PowerShell 2.0.
public property HelpFile Gets the help file path for the function.
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 Noun Gets the noun of the function.
public property Options Gets or sets the scope options for the function.
public property OutputType Overridden. Gets the .NET Framework types returned by the function.
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 implementation of the function.
public property Verb Gets the verb of the function.
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.