I'm trying to write a script to automate a PRAM reset and I've seen a lot of old guides that tell me to use the following command to reset the Mac's PRAM via the terminal:

> 
> nvram boot-args="-p -r"
> 
> 
> 

But this command doesn't seem to work anymore, at least not on any of the computers I've tried it on. I'm trying to find a more up-to-date list of available boot-args and I was able to find [this question about boot-args strings](https://superuser.com/questions/255176/is-there-a-list-of-available-boot-args-for-darwin-os-x) but there doesn't seem to be anything in there or any of the links about resetting the pram.

Any ideas?