Writing A Foreach Loop In Powershell