While Dell Inc.’s short-term prospects remain “murky,” the computer maker’s midterm outlook is beginning to turn more positive for the first time in two years, a Pacific Crest analyst wrote Monday in a note to investors.

The analyst, Brent Bracelin, upgraded Dell to “Outperform” from “Sector Perform,” citing the company’s new leadership, supply chain realignments and improving operating margins among the reasons. His target price is $30.