Python Add Function To Powershell Script