The problem is in MatchComputerName function. That function return null even though the $computerList argument has multiple computer names.
The reason is the if statement compares the computername (which is current server name) to the computer list with wild card on both ends. It will always return true when you are running from a server that is part of the SharePoint farm.
Commenting out that line in my case would correctly recognize multiple servers. Now it fails stating that WinRM client fails due to the authentication Mechanism requested.
Does AutoSPInstaller Support Win2012R2 at all or not?
The reason is the if statement compares the computername (which is current server name) to the computer list with wild card on both ends. It will always return true when you are running from a server that is part of the SharePoint farm.
Commenting out that line in my case would correctly recognize multiple servers. Now it fails stating that WinRM client fails due to the authentication Mechanism requested.
Does AutoSPInstaller Support Win2012R2 at all or not?