Powershell Foreach Loop Output To Variable