The Ospreys found some much-needed form ahead of the start of the Heineken Cup with a 31-10 bonus-point victory at the Liberty Stadium to end Edinburgh's four-match winning run on the road.
It was the Ospreys' first home Magners League win of the season after two uninspiring defeats by Ulster and Leinster and takes them into third place in the table.
Even without the influence of Jerry Collins, who was out with flu, the Welsh region were able to produce a brand of rugby in the first half that should hold them in good stead for their opening European clash against Leicester Tigers at Welford Road next Sunday.
The Ospreys put together some of their most potent attacking rugby during a 16-minute spell in the first period when they scored three converted tries, which saw them lead 24-10 at the interval.
Edinburgh, who had won their last two matches at the Liberty Stadium, got on the scoreboard first through a fifth-minute Phil Godman penalty but after that it was all Ospreys until first-half injury time.
Tommy Bowe started the Ospreys' return to form after 14 minutes by going over under the posts unchallenged following a fine pop pass from James Hook that wrong-footed the defence.
And three minutes later Ryan Jones, courtesy of a Mike Phillips pass, made the most of a big hole in the Scots' defence. That was after a neat chip ahead by Dan Biggar had put Hook on the attack.
But the Ospreys produced the best of the three tries in the 30th minute when good inter-passing saw Lee Byrne go over after a burst of pace down the right from Biggar and Nicky Walker. That was after Ali Hogg had been yellow-carded for a deliberate knock-on.
But when Edinburgh were restored to 15 men they engineered an injury-time try from a scrum, with wing Tim Visser taking advantage of space on the blindside.
The Ospreys could not quite match the skilful efforts of the first half after the break, possibly because they made personnel changes with one eye on next week's Heineken Cup clash at Leicester.
And they were not helped when Phillips was sent to the sin-bin for a sly trip on opposite number Mike Blair.
But they eventually racked up the bonus-point try courtesy of an interception pass from replacement outside-half David Blair, which saw Jonathan Thomas run in from 40 metres out as Ospreys opened up a 21-point lead for the second time in the contest.
And that was how it stayed as the match rather petered out in the final 15 minutes.
Italy Under-20s held off a late Samoa blitz to retain their place in the World Rugby U20 Championship on Saturday and head coach Alessandro Troncon believes the experience will have served as a valuable lesson for his young troops.