Udostępnij za pośrednictwem


PSCommand.Clone Method

Definition

Creates a shallow copy of the current PSCommand.

public:
 System::Management::Automation::PSCommand ^ Clone();
public System.Management.Automation.PSCommand Clone ();
member this.Clone : unit -> System.Management.Automation.PSCommand
Public Function Clone () As PSCommand

Returns

A shallow copy of the current PSCommand

Applies to