Skip to content

Instantly share code, notes, and snippets.

@yoimbert
Created November 23, 2015 16:46
Show Gist options
  • Save yoimbert/9e82f7227f8a919f0eda to your computer and use it in GitHub Desktop.
Save yoimbert/9e82f7227f8a919f0eda to your computer and use it in GitHub Desktop.
applescriptreboot
do shell script "shutdown -r now" user name "user" password "password" with administrator privileges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment