Cannot Get Powershell Script Parameters Powershell Foreach Object