PowerShellExecutionHost Class |
Namespace: Mastersign.Bench
The PowerShellExecutionHost type exposes the following members.
Name | Description | |
---|---|---|
PowerShellExecutionHost |
Initializes a new instance of PowerShellExecutionHost.
|
Name | Description | |
---|---|---|
BenchRoot |
The root directory of the Bench environment.
(Inherited from PowerShellExecutionHostBase.) | |
CurrentToken |
The current token to identify the IPC connection.
(Inherited from PowerShellExecutionHostBase.) | |
IsDisposed |
Checks if this instance of already disposed.
(Inherited from PowerShellExecutionHostBase.) | |
IsPowerShellExecutionHostRunning |
Checks is the PowerShell process is running.
(Overrides PowerShellExecutionHostBaseIsPowerShellExecutionHostRunning.) | |
IsStarted |
Checks whether the host is started, or not.
(Inherited from PowerShellExecutionHostBase.) | |
PsExecHostScriptFile |
An absolute path to the PsExecHost.ps1 script file.
(Inherited from PowerShellExecutionHostBase.) |
Name | Description | |
---|---|---|
Dispose |
Shuts down this execution host and kills the attached PowerShell process.
(Inherited from PowerShellExecutionHostBase.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDispose |
Is called when this instance is disposed.
(Inherited from PowerShellExecutionHostBase.) | |
RequestConfigurationReload |
Call this to request a reload of the Bench configuration
in the remote execution host, before the next execution request is processed.
(Inherited from PowerShellExecutionHostBase.) | |
RunProcess |
Starts a Windows process in a synchronous fashion.
(Inherited from PowerShellExecutionHostBase.) | |
StartHost |
Starts the remote host and prepares for first execution request.
(Inherited from PowerShellExecutionHostBase.) | |
StartPowerShellExecutionHost |
Starts the PowerShell process and runs the PsExecHost.ps1.
(Overrides PowerShellExecutionHostBaseStartPowerShellExecutionHost.) | |
StartProcess |
Starts a Windows process in an asynchronous fashion.
(Inherited from PowerShellExecutionHostBase.) | |
ToString | (Inherited from Object.) | |
WaitForPowerShellExecutionHostToEnd |
Waits for the PowerShell process to end.
Is called after the shut down request was send.
(Overrides PowerShellExecutionHostBaseWaitForPowerShellExecutionHostToEnd.) |