RemovePSSessionCommand.ProcessRecord 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.
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 ()