RemovePSSessionCommand.ProcessRecord Method

Definition

Do the following actions: 1. If runspace is in opened state, a. stop any execution in process in the runspace b. close the runspace 2. Remove the runspace from the global cache.

protected:
 override void ProcessRecord();
protected:
 override void ProcessRecord();
 override void ProcessRecord();
protected override void ProcessRecord ();
override this.ProcessRecord : unit -> unit
Protected Overrides Sub ProcessRecord ()

Applies to