How can we help you today? How can we help you today?

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
David_Sch
0

Comments

2 comments

  • owen.hall
    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!
    owen.hall
    0
  • David_Sch
    This command line is perfect. 
    Many thanks for the help
    David_Sch
    0

Add comment

Please sign in to leave a comment.