Powershell Foreach Object Continue In C