Fixing Powershell Params (The input to an assignment operator must be an object that is able to accept assignments0
Problem
Powershell errors with “The input to an assignment operator must be an object that is able to accept assignments”.
Solution: You’ve got a problem with your params. In my case I had a statement before declaring the params section. Params should be at the start of the file, or at the start of a function.