| 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: waitPause: the pause in ms between each loop pooling for a response. |
PowerShell |
PowerShell.executeCommandAndChain(String command,
com.profesorfalken.jpowershell.PowerShellResponseHandler... response)
Allows to chain command executions providing a more fluent API.
|
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.