We run reboot scripts on over a few hundred Windows servers, however there are some servers that do not reboot since it prompts for an acknowledgement.
The script is in powershell, the error is shown below.
Run only scripts that you trust. While scripts from the Internet can be useful this script can potentially harm your computer. Do you want to run \\server\share$\restart.ps1?
[D] Do not run [R] Run Once [S] Suspent:
Any thoughts or ways to just suppress it, if you need the ps code, let me know.