Creating Scripts For Powershell Array Foreach