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.Create Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Constructs a string or script block of the proxy command that is based on the specified command.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(CommandMetadata)

Constructs a string representation of the proxy command that is based on the specified command. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodSystem_CAPS_staticCreate(CommandMetadata, String)

Constructs a script block of the proxy command that is based on the specified command.

System_CAPS_pubmethodSystem_CAPS_staticCreate(CommandMetadata, String, Boolean)

This method constructs a string representing the command specified by commandMetadata. The returned string is a ScriptBlock which can be used to configure a Cmdlet/Function in a Runspace.

Return to top

Community Additions

Show: