SQL unattended install Failing

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Braven36 . Braven36 . 2 years, 2 months ago.

  • Author
    Posts
  • #19038
    Profile photo of Braven36 .
    Braven36 .
    Participant

    I am trying to unattend SQL Server remotely using Invoke-command. I can see the processes spawning on the system but it keeps failing with this error.

    Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException
    Message:
    There was an error generating the XML document.

  • #19041
    Profile photo of Ondrej Zilinec
    Ondrej Zilinec
    Participant

    Can you, please, specify what command are you trying to run?

  • #19043
    Profile photo of Braven36 .
    Braven36 .
    Participant

    $cred= Get-Credential

    Invoke-command -computername ***** -scriptBlock {. D:\SQLSourceMedia\SQL_Server_2014_Standard\setup.exe /q /ACTION=Install /SQLSVCACCOUNT=****** /SQLSVCPASSWORD=**** /SQLSYSADMINACCOUNTS=****** /AGTSVCACCOUNT=****** /AGTSVCPASSWORD=******" /SAPWD=**** /IACCEPTSQLSERVERLICENSETERMS=TRUE /configurationFile=D:\Default\ConfigurationFile.ini}

You must be logged in to reply to this topic.