Python 3 Trim String Powershell Script