Python Regex Find Substring In Powershell Script Not Running