Python Return Function Syntax In Powershell Commands