ProxyCommand.GetProcess(CommandMetadata) ProxyCommand.GetProcess(CommandMetadata) Method

Definition

This method constructs a string representing the process block of the command specified by commandMetadata. The returned string only contains the script, it is not enclosed in "process { }".

public static string GetProcess (System.Management.Automation.CommandMetadata commandMetadata);
static member GetProcess : System.Management.Automation.CommandMetadata -> string
Parameters
commandMetadata
CommandMetadata CommandMetadata

An instance of CommandMetadata representing a command.

Returns

A string representing the process block of the command.

Exceptions

Applies to