PowerShell Class |
Namespace: Galactic.PowerShell
The PowerShell type exposes the following members.
Name | Description | |
---|---|---|
CreateRunspaceConnectionInfo |
Creates an object with the information necessary to create a connection for a Runspace or RunspacePool.
Note: computerName and connectionURI are mutually exclusive. If both are provided, the computerName parameter will be used.
computerName and connectionURI need only be supplied for remote connections. If neither are provided a configuration for a
local connection using all defaults will be created.
| |
RunAsynchronously |
Runs a PowerShell command/script asynchronously.
| |
RunSynchronously |
Runs a PowerShell command/script synchronously.
|
Name | Description | |
---|---|---|
DEFAULT_APP_NAME |
The default application name used when making a PowerShell connection.
| |
DEFAULT_MAX_RUNSPACES_IN_POOL |
The default maximum number of runspaces a pool can grow to during it's lifetime.
| |
DEFAULT_MIN_RUNSPACES_IN_POOL |
The default minimum number of runspaces initialized when a pool is created.
| |
DEFAULT_OPEN_TIMEOUT_IN_SEC |
The default length of time in seconds that a PowerShell connection has to open a connection before timing out.
| |
DEFAULT_OPERATION_TIMEOUT_IN_SEC |
The default length of time in seconds that a PowerShell operation has to complete before timing out.
| |
DEFAULT_PORT_NUMBER |
The default port number used by PowerShell connections.
| |
DEFAULT_PORT_NUMBER_SSL |
The default port number used by SSL based PowerShell connections.
| |
DEFAULT_SHELL_URI |
The default shell URI used by PowerShell connections.
|