brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
170 stars 80 forks source link

AutoSPInstaller Error - Null argument for DelegateComputer #73

Closed laromeo closed 3 years ago

laromeo commented 3 years ago

I'm trying to build a small 2 server farm and this is the error that I am getting. It is not adding the second server to the 'DelegatComupter' variable? Any suggestions would be helpful.

Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoExit -ExecutionPolicy Bypass C:\Windows\ProPatches\Installation\AutoSPInstaller-master\SP\Automation\AutoSPInstallerMain.ps1 C:\Windows\ProPatches\Installation\AutoSPInstaller-master\SP\Automation\AutoSPInstallerInput.xml Process ID: 7448 PSVersion: 5.1.14393.3866 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.3866 BuildVersion: 10.0.14393.3866 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1


Transcript started, output file is C:\Users\svc_spadmins\Desktop\AutoSPInstaller-2020-11-17_8-52.log

| Automated SP2016 install script | | Started on: 11/16/2020 11:08:16 PM |


| Automated SP2016 Remote Installs | | Started on: 11/16/2020 11:08:16 PM |

PS>TerminatingError(Enable-WSManCredSSP): "Cannot validate argument on parameter 'DelegateComputer'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again." Enable-WSManCredSSP : Cannot validate argument on parameter 'DelegateComputer'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At C:\Windows\ProPatches\Installation\AutoSPInstaller-master\SP\Automation\AutoSPInstallerModule.psm1:6930 char:63

Press any key to exit...

brianlala commented 3 years ago

Please validate your XML over at https://autospinstaller.com. Closing this as it is not an issue but rather probably just a typo in your XML.

If you still don't have any luck try just kicking the script off on both servers instead of using the remote functionality.

Brian