类的使用
com.tlcsdm.core.powershell.PowerShellNotAvailableException
-
com.tlcsdm.core.powershell中PowerShellNotAvailableException的使用
修饰符和类型方法说明private PowerShellstatic 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(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