Skip navigation links
C E G I O P 

C

close() - Method in class com.profesorfalken.jpowershell.PowerShell
Closes all the resources used to maintain the PowerShell context
com.profesorfalken.jpowershell - package com.profesorfalken.jpowershell
 
configuration(Map<String, String>) - Method in class com.profesorfalken.jpowershell.PowerShell
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.

E

END_SCRIPT_STRING - Static variable in class com.profesorfalken.jpowershell.PowerShell
 
executeCommand(String) - Method in class com.profesorfalken.jpowershell.PowerShell
Execute a PowerShell command.
executeCommandAndChain(String, PowerShellResponseHandler...) - Method in class com.profesorfalken.jpowershell.PowerShell
Allows to chain command executions providing a more fluent API.
executeScript(String) - Method in class com.profesorfalken.jpowershell.PowerShell
Executed the provided PowerShell script in PowerShell console and gets result.
executeScript(String, String) - Method in class com.profesorfalken.jpowershell.PowerShell
Executed the provided PowerShell script in PowerShell console and gets result.
executeScript(BufferedReader) - Method in class com.profesorfalken.jpowershell.PowerShell
Execute the provided PowerShell script in PowerShell console and gets result.
executeScript(BufferedReader, String) - Method in class com.profesorfalken.jpowershell.PowerShell
Execute the provided PowerShell script in PowerShell console and gets result.
executeSingleCommand(String) - Static method in class com.profesorfalken.jpowershell.PowerShell
Execute a single command in PowerShell console and gets result

G

getCommandOutput() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
Retrieves the content returned by the executed command

I

isError() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
True if the command could not be correctly executed (timeout or unexpected error) If you want to check if the command itself finished in error, use the method isLastCommandInError() instead
isLastCommandInError() - Method in class com.profesorfalken.jpowershell.PowerShell
Indicates if the last executed command finished in error
isTimeout() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
True if the command finished in timeout

O

openSession() - Static method in class com.profesorfalken.jpowershell.PowerShell
Creates a session in PowerShell console an returns an instance which allows to execute commands in PowerShell context.
openSession(String) - Static method in class com.profesorfalken.jpowershell.PowerShell
Creates a session in PowerShell console an returns an instance which allows to execute commands in PowerShell context.

P

PowerShell - Class in com.profesorfalken.jpowershell
This API allows to open a session into PowerShell console and launch different commands.
PowerShellNotAvailableException - Exception in com.profesorfalken.jpowershell
Custom checked exception produced when the Powershell executable cannot be found
PowerShellResponse - Class in com.profesorfalken.jpowershell
Response of PowerShell command.
C E G I O P 
Skip navigation links

Copyright © 2018. All rights reserved.