Install the clone agent in command line
Hello,
Is it possible to install the clone agent on different server only with a powershell command line? I need to deploy it on different servers with only command line access.
Regards
Is it possible to install the clone agent on different server only with a powershell command line? I need to deploy it on different servers with only command line access.
Regards
Tagged:
Best Answer
-
owen.hall Posts: 57 Silver 4Hi David,
How about something like this?# download a single use agent installer <br><div>Invoke-WebRequest ` -Uri http://your.sqlclone.server:14145/api/installer ` -OutFile 'C:\My\Downloads\SingleUseSQLCloneAgentInstaller.exe' ` -UseDefaultCredentials</div><div> <br># run silent installation </div><div>C:\My\Downloads\SingleUseSQLCloneAgentInstaller.exe -s ` SERVICEUSERNAME=DOMAIN\Username ` SERVICEPASSWORD=MyPassword</div>
Many thanks!Software Engineer
Redgate Software
Answers
Many thanks for the help