Automation is awesome, but what if you need to run a script with elevated privileges? If you are following security best practices then the account you login with most likely doesn't have the required elevated privileges. Storing your password in plain text in your scripts is no good either. So what do we do? There are several options and each has there place, but I'll show you my favorite below. Check out the full article by clicking on the link below. While you are there check out some of my other posts, the script repository and the resource page.
If you have some comments, questions or advice I'm happy to hear it. Thanks for reading and I hope everyone likes the article.