I'm very new to scripting in general. I'm helping to develop a policy to
search and install new os update to individual's system. The scripts
works fine in terminal, but when I run it as a policy. It will failed
because of authentication. Is there an...