changed to use powershell and not raw cmd