Powershell Loop Through Array Foreach Is Not A Function