It was the first time Huddersfield had conceded in the Premier League this season.
A deflection saw Pedro Obiang's shot creep in off the message 18 mins from completion prior to Andre Ayew made certain of the success soon after.
Buoyed by that, West Ham doubled their advantage six minutes later when Jose Fonte's header wasn't cleared and substitute Ayew poked in the rebound.
André Ayew finally got off the hook in what has been a very hard week by scoring and assisting to help West Ham United record their first win of the season and alleviate the pressure on Slaven Bilic on Monday night.
After four rounds of matches, reality is beginning to bite in this Premier League season.
Instead, West Ham achieved a scratchy 2-0 victory that temporarily eases the pressure on Bilic and Huddersfield were the team handed a reality check.
As I alluded to in the previous paragraph, West Ham are a long way from successfully integrating the new players into their squad.
"No, because we have not deserved to win any games so we were where we should have been, but we deserved to win this game", he said. "It's my birthday and this is a great present". Bilic, on his 49th birthday, admitted that it was in the... We were second best in more or less every area.
Despite having more of the ball and completing more passes, they only forced Joe Hart to make two saves, with both efforts from outside the box - via Philip Billing and Steve Mounie.
"It worked well a year ago when we changed to this system".
West Ham kept pushing and Hernandez was unfortunate to see a right-footed strike crash off the crossbar after a fine Michail Antonio run on the right.
Scribes condemn murder of journalist Gauri Lankesh
With the killing in poll-bound Karnataka sending shock waves, Chief Minister Siddaramaiah announced a SIT probe headed by an Inspector General of Police (IGP).