Install the clone agent in command line

David_SchDavid_Sch Posts: 2 New member
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
Tagged:

Best Answer

  • owen.hallowen.hall Posts: 57 Silver 4
    edited July 2, 2018 9:47AM Answer ✓
    Hi 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

Sign In or Register to comment.