I searched around the archives and this was about all I found… I just need help on getting the correct syntax for using sudo restart and supplying my admin password all in the do shell script command. Thanks.
“sudo restart password”
“sudo restart | password”
2 lines of do shells with the password on the second
“echo ‘password’ | sudo restart” (taken from above topic)