Convert Python To Powershell Script