Powershell Use Output As Input Processing Cycle