The Hammers had lost their last four away games on their travels but the 2-0 win at The Britannia put their play-off hopes firmly back on track.
After a solid away performance the Hammers boss said: "We played well from front to back and got the result that we needed and deserved.
"We need to stay focused now and make sure we do the business at home next week, but we have been lifted by this game."