Powershell Foreach Object Continue In Python