I'd like to run some code, go away and have a coffee and come back to a MacBook with the [NVRAM, PRAM and SMC all reset](https://www.macworld.com/article/2881177/how-to-reset-your-macs-nvram-pram-and-smc.html) (rather than doing them manually with yoga postures to press all the keys, waiting around for various signals that it worked etc). Is there a quick and easy terminal script I can run? I have a bad mac keyboard which could 'unpress' or double press at any time so I would think the reset was performed when in fact it had not. I want to alleviate that doubt