Powershell Use Variable From Function Python Example Code