How to Reset Profile Manager

So you have read Darren’s great blog post on configuring Profile Manager and you decided to go for it, but even afterreset profile manager all the wonderful advice it didn’t do what you expected, so you fiddle with it and poke it for a while with no joy, now you’re considering blowing it all away and starting again.
STOP, before you go down that one way street you might want to try resetting Profile Manager with this one liner.
sudo sh /usr/share/devicemgr/backend/