Powershell Foreach Loop Output To Input