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: 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.

E

END_SCRIPT_STRING - Static variable in class com.profesorfalken.jpowershell.PowerShell
 
executeCommand(String) - Method in class com.profesorfalken.jpowershell.PowerShell
Launch a PowerShell command.
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
Executed the provided PowerShell script in PowerShell console and gets result.
executeScript(BufferedReader, String) - Method in class com.profesorfalken.jpowershell.PowerShell
Executed 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

getCodePageNameByIdetifier(String) - Static method in class com.profesorfalken.jpowershell.PowerShellCodepage
Get the encoding value from CodePage
getCommandOutput() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
Retrieves the content returned by the executed command
getIdentifierByCodePageName(String) - Static method in class com.profesorfalken.jpowershell.PowerShellCodepage
Get the CodePage code from encoding value

I

isError() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
True if the 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

P

PowerShell - Class in com.profesorfalken.jpowershell
Allows to open a session into PowerShell console and launch different commands.
PowerShellCodepage - Class in com.profesorfalken.jpowershell
Enum that contains possible CodePage values needed to correctly set the encoding in a windows console session
https://msdn.microsoft.com/de-de/library/windows/desktop/dd317756(v=vs.85).aspx
PowerShellCodepage() - Constructor for class com.profesorfalken.jpowershell.PowerShellCodepage
 
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 © 2017. All rights reserved.