C E G I O P
All Classes All Packages
All Classes All Packages
All Classes All Packages
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
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(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.
- 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.
- executeSingleCommand(String) - Static method in class com.profesorfalken.jpowershell.PowerShell
-
Execute a single command in PowerShell consolscriptModee 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)
- 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.
It uses the default PowerShell installation in the system. - 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.
This method allows to define a PowersShell executable path different from default
P
- PowerShell - Class in com.profesorfalken.jpowershell
-
This API allows to open a session into PowerShell console and launch different commands.
This class cannot be instantiated directly. - 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.
All Classes All Packages