To get the ressurect machine do this:
-Enter in the "boolprop testingcheatsenabled true" code. (It doesn't matter where you enter it from, neighborhood/home.)
-Next play as the sim you want to give the ressurect machine to.
-Hold down the "Shift" key and click the sim you're playing as.
-Options will appear. Click the one that says "Spawn."
-After clicking "Spawn," click "More."
-Then new options will come up. Click the one that says, "Sim Modder."
-A standing up baby will appear. Click the baby and options will come up. One of them should say something like, "Career Rewards," or just "Rewards."
-Click which ever one it says and then it asks you who you want to give the career rewards to. Pick who you want to give the reward to, and there you go! You've got the ressurect machine!
Remember, it's only cheating if you get caught.