类的使用
com.tlcsdm.core.powershell.PowerShellResponse
使用PowerShellResponse的程序包
-
com.tlcsdm.core.powershell中PowerShellResponse的使用
修饰符和类型方法说明PowerShell.executeCommand(String command) Execute a PowerShell command.PowerShell.executeScript(BufferedReader srcReader) Execute the provided PowerShell script in PowerShell console and gets result.PowerShell.executeScript(BufferedReader srcReader, String params) Execute the provided PowerShell script in PowerShell console and gets result.PowerShell.executeScript(String scriptPath) Executed the provided PowerShell script in PowerShell console and gets result.PowerShell.executeScript(String scriptPath, String params) Executed the provided PowerShell script in PowerShell console and gets result.static PowerShellResponsePowerShell.executeSingleCommand(String command) Execute a single command in PowerShell consolscriptModee and gets result修饰符和类型方法说明voidPowerShellResponseHandler.handle(PowerShellResponse response) private voidPowerShell.handleResponse(PowerShellResponseHandler response, PowerShellResponse powerShellResponse)