Powershell Custom Function In Python Practice