Automatically load RSAT as a different user
For a while now I've wanted to load the RSAT (Windows Remote Server Administration Tools) tool I use daily via a script at logon, but as my admin user account, not my normal logon. There are numerous posts on the web about doing that but with the later versions of PowerShell most of those don't work. Windows 10 doesn't help. I'm sure there are better ways of doing this but after trying the suggestions I found on the web I hit on a combination that works. The full script and all future updates are on my PowerShell Library site here: https://www.powershellgallery.com/profiles/Kcmjr I call the script "RSAT-As-Admin.ps1". It includes a list of RSAT tools that you must adjust to suit your needs. The way it's written you can add additional executables easily if desired. Here is the code from release v1.00. Updates will be posted at the link,above. Param ( [ Switch ] $ Console = $false ...