PowerShell Methods |
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.
|