| Modifier and Type | Method and Description |
|---|---|
PowerShell |
PowerShell.configuration(Map<String,String> config)
Allows to override jPowerShell configuration using a map of key/value
Default values are taken from file jpowershell.properties, which can be replaced just setting it on project classpath The values that can be overridden are: maxThreads: the maximum number of thread to use in pool. 3 is an optimal and default value waitPause: the pause in ms between each loop pooling for a response. |
static PowerShell |
PowerShell.openSession()
Creates a session in PowerShell console an returns an instance which allows
to execute commands in PowerShell context.
|
static PowerShell |
PowerShell.openSession(String customPowerShellExecutablePath)
Creates a session in PowerShell console an returns an instance which allows
to execute commands in PowerShell context.
|
Copyright © 2018. All rights reserved.