Powershell Get Part Of String In Python