public class WindowsRemoteAsadmin extends WindowsRemoteScripter
Constructor and Description |
---|
WindowsRemoteAsadmin(String remoteInstallRoot,
WindowsCredentials bonafides) |
Modifier and Type | Method and Description |
---|---|
String |
run(Collection<String> cmdArgs)
Run a remote asadmin script command
|
String |
run(String cmd)
Run a remote asadmin script command
|
wantStdErr
public WindowsRemoteAsadmin(String remoteInstallRoot, WindowsCredentials bonafides)
public String run(Collection<String> cmdArgs) throws WindowsException
run
in class WindowsRemoteScripter
cmdArgs
- e.g. "start-local-instance", "i1"WindowsException
public final String run(String cmd) throws WindowsException
run
in class WindowsRemoteScripter
cmd
- e.g. "start-local-instance i1"WindowsException
Copyright © 2021. All rights reserved.