我想以用户身份打开一个新的 powershell.exe,但具有管理员权限(此用户已添加到管理员组)。
要以用户身份打开新的 powershell.exe,我使用了以下命令:
runas /profile /user:emma powershell.exe
我可以以某种方式改变它以获得我需要的东西吗?
powershell administrator runas user
administrator ×1
powershell ×1
runas ×1
user ×1