In the foreach loop for the OOS services on lines 475 and 476 there are trailing forward slashes at the end of the string that is causing an error in my environment. I removed the slashes to prevent the errors in my SharePoint 2019 environment.
foreach ($s in $services) {
NavigateTo ("http://$w"+":809/$s")
NavigateTo ("https://$w"+":810/$s")
}
In the foreach loop for the OOS services on lines 475 and 476 there are trailing forward slashes at the end of the string that is causing an error in my environment. I removed the slashes to prevent the errors in my SharePoint 2019 environment.