Author Posts

September 23, 2014 at 10:43 am

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.

September 23, 2014 at 11:20 am

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

September 23, 2014 at 11:49 am

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