Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Switching to an admin user within Powershell SSH session
Is it possible to switch to an admin user from a regular user within a PowerShell SSH session (similar to Linux's su <user>
) without even connecting to a remote desktop session and open PowerShell with "Run as Administrator" and the User Access Control hell (aka requiring interactive window station)?
P.S.: Disabling UAC to bypass the requirement for an interactive window station is considered as a bad answer for me.
1 comment thread