Scenario: script Install-Orchestrator.ps1 fails with error …doesn’t contain a method named ‘ForEach’.
Steps to reproduce: Run the script
Current Behavior: fails
Expected Behavior: Get the orchestrator web site installed
Studio/Robot/Orchestrator Version: UiPathOrchestrator2017.1
Last stable behavior: NA
Last stable version: NA
OS Version: Windows server 2012
Others if Relevant:
PowerShell error:
script Install-Orchestrator.ps1 fails with error
Method invocation failed because [System.Collections.Hashtable] doesn’t contain a method named ‘ForEach’.
At C:\Shared\scripts\Install-Orchestrator.ps1:600 char:2
$settings.ForEach({[PSCustomObject]$_}) | Format-Table Label, Value -AutoSize - …