The Red Devils produced an underwhelming display a matter of days after Manchester United suffered a 1-0 loss to La Liga giants FC Barcelona in the first leg of their Champions League quarter-final.
Paul Pogba broke the deadlock in the first half from the penalty spot to settle any nerves in the home side but West Ham were level shortly after the break.
Former Lazio midfielder Felipe Anderson equalised in the 49th minute after the Brazilian star had earlier had a goal ruled out by the officials.
West Ham substitute Michail Antonio hit the woodwork in the second half before David De Gea denied the Englishman with a superb save.
And Pogba secured three points for the hosts with his second penalty of the game to notch up a vital win for Solskjaer’s side at home.
Former Manchester United midfielder Scholes wasn’t convinced by the Red Devils’ performance in their narrow 2-1 win over West Ham on Saturday evening.
“Exactly what he go,” Scholes told BT Sport.
“He won’t be too happy with what he has seen. It wasn’t a great performance. They’ve done what they needed to do to win the game. West Ham played some good stuff at times. Antonio was unlucky. It was a great save from De Gea.”
Pogba scored his 10th and 11th goal of the season from the penalty spot to prove his prowess from eight yards out this season.
The France international has now scored 16 goals in all competitions in the current campaign despite a difficult season for the World Cup winner.
MORE: Man United latest news
MORE: Arsenal latest news
MORE: Chelsea latest news
MORE: Liverpool latest news