Kevin Cole
Kevin Cole
Changing it to: If ((**$SQLInstance -eq** $env:COMPUTERNAME) -or ($SQLInstance.StartsWith($env:ComputerName +"\"))) { May fix it, I'll leave it to your team to fix it the best way possible
Note - I didn't update the configuration file version but it will be needed. I assume this is usually part of your own process of merging and compiling updates.
Also potentially included a fix for https://github.com/brianlala/AutoSPInstaller/issues/77 as it was caused by MatchComputerName
**This also affects lines 2917 and 2924:** $wa = Get-SPWebApplication -Identity $fullUrl should be $wa = Get-SPWebApplication -Identity $webAppName **Line 2994:** New-SPContentDatabase -Name $siteDatabase -WebApplication (Get-SPWebApplication -Identity $fullUrl should be:...
Specified in my installer config is: Portal SharePoint2019.serverfarm.CA http://localhost The localhost is being translated in the script to be the server running it. Perhaps this is not the best practice?
Solved it, the Prefetch option is not well documented. Prefetch is usually used to just grab headers and not body content (in the code it passes !Prefetch into the HeadersOnly...
An example for using the script is, I've bolded the part that includes the referenced assembly Import-Module ".\gmail.ps\Gmail.ps.psm1" **Add-Type -Path '.\gmail.ps\AE.Net.Mail.dll'** $userName = "[YOUREMAILHERE]" $password = "[YOURPASSWORDHERE]" $nc = New-Object...
When retrieving an item I request the RoleAssignments property; `$web = get-pnpweb -includes HasUniqueRoleAssignments,RoleAssignments,LastItemModifiedDate` Then I loop through each role assignment, getting the RoleDefinitionBindings and Members. (Honestly, those both should...
This is likely because selenium has dropped support for PhantomJS from 3.14  