SetMachineProperty script/toolbox example?

Hey All!

So I want to run a script and set machine property with the output of the script. Can anyone assist with an example on how this is done to get me rolling? Cheers!

Worked it out! Brilliant!