SQL unattended install Failing

Welcome Forums General PowerShell Q&A SQL unattended install Failing

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
4 years, 2 months ago.

  • Author
    Posts
  • #19038

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

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

  • #19043

    Participant
    Points: 0
    Rank: Member

    $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}

The topic ‘SQL unattended install Failing’ is closed to new replies.