public class WinConnection extends Object
Constructor and Description |
---|
WinConnection(String host,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
WindowsProcess |
execute(String commandLine) |
WindowsProcess |
execute(String commandLine,
int timeout) |
boolean |
exists(String path) |
InputStream |
getFile(String path) |
boolean |
ping() |
OutputStream |
putFile(String path) |
void |
setUseHTTPS(boolean useHTTPS) |
WinRM |
winrm() |
WinRM |
winrm(int timeout) |
public WinRM winrm()
public WinRM winrm(int timeout)
public WindowsProcess execute(String commandLine)
public WindowsProcess execute(String commandLine, int timeout)
public OutputStream putFile(String path) throws IOException
IOException
public InputStream getFile(String path) throws IOException
IOException
public boolean exists(String path) throws IOException
IOException
public boolean ping()
public void close()
public void setUseHTTPS(boolean useHTTPS)
Copyright © 2016–2019. All rights reserved.