Lines Matching refs:cmd
62 cmd = "echo %computername%"
63 server_name = server_session.cmd_output(cmd).strip()
64 client_name = session.cmd_output(cmd).strip()
65 cmd = "wmic computersystem get domain"
66 server_workgroup = server_session.cmd_output(cmd).strip()
69 cmd = "reg query %s /v Domain" % regkey
70 o = server_session.cmd_output(cmd).strip().splitlines()[-1]
77 server_session.cmd("cd %s" % server_studio_path)
78 cmd = "%s %s %s" % (os.path.basename(dsso_delete_machine_binary),
80 server_session.cmd(cmd, print_func=logging.info)
86 cmd = ('wmic computersystem where name="%%computername%%" rename name="%s"'
88 session.cmd(cmd, timeout=600)
92 cmd = ('wmic computersystem where name="%%computername%%" call '
94 session.cmd(cmd, timeout=600)
98 cmd = 'reg add %s /v Domain /d "%s" /f' % (regkey, server_dns_suffix)
99 session.cmd(cmd, timeout=300)
106 cmd = r"net use \\%s /user:%s %s" % (server_name, server_username,
111 session.cmd(cmd)
123 session.cmd(install_cmd, timeout=install_timeout)
127 cmd = ('reg add '
130 session.cmd(cmd % ("AutoAdminLogon", "1"))
131 session.cmd(cmd % ("DefaultUserName", client_username))
132 session.cmd(cmd % ("DefaultPassword", client_password))