Python Terminate Process Powershell Script Generator