Creating Scripts In Powershell Foreach Next Item