System.Management.Automation.RuntimeException: Method invocation failed because [System.Management.Automation.ErrorRecord] doesn't contain a method named 'ForEach'. · Issue #23 · kirkone/vsts-dnx-tasks · GitHub
![PowerShell > Why do I need to declare the function parameter inline in the function before it returns a value? - Stack Overflow PowerShell > Why do I need to declare the function parameter inline in the function before it returns a value? - Stack Overflow](https://i.stack.imgur.com/dJX8m.png)
PowerShell > Why do I need to declare the function parameter inline in the function before it returns a value? - Stack Overflow
![Powershell SDK custom Host Error Output after Write-Error with Parameter ErrorRecord broken since Version 7 · Issue #13614 · PowerShell/PowerShell · GitHub Powershell SDK custom Host Error Output after Write-Error with Parameter ErrorRecord broken since Version 7 · Issue #13614 · PowerShell/PowerShell · GitHub](https://user-images.githubusercontent.com/36636591/92722251-95e1b680-f367-11ea-9891-bcbc1f45956f.png)