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.

ProxyCommand.GetCmdletBindingAttribute Method (CommandMetadata)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Constructs the text of the cmdlet binding attribute of a command.

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

public static string GetCmdletBindingAttribute(
	CommandMetadata commandMetadata
)

Parameters

commandMetadata
Type: System.Management.Automation.CommandMetadata

A CommandMetadata object that describes the original command.

Return Value

Type: System.String

A string that represents the CmdletBindingAttribute attribute of the command.

Exception Condition
ArgumentNullException

commandMetadata is null.

Return to top

Community Additions

Show: