Powershell Use Variable From Function Python Syntax For Loop