PSCommand.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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