結果 : if statement in foreach loop powershell