Uses of Class
com.profesorfalken.jpowershell.PowerShell
-
-
Uses of PowerShell in com.profesorfalken.jpowershell
Methods in com.profesorfalken.jpowershell that return PowerShell Modifier and Type Method Description PowerShellPowerShell. configuration(java.util.Map<java.lang.String,java.lang.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 classpathPowerShellPowerShell. executeCommandAndChain(java.lang.String command, com.profesorfalken.jpowershell.PowerShellResponseHandler... response)Allows to chain command executions providing a more fluent API.static PowerShellPowerShell. openSession()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.static PowerShellPowerShell. openSession(java.lang.String customPowerShellExecutablePath)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
-