powershell keeps popping up and closing