
관리자 권한이 있는 사용자로 새 powershell.exe를 열고 싶습니다(이 사용자는 이미 관리자 그룹에 추가되어 있습니다).
사용자로 새 powershell.exe를 열려면 다음 명령을 사용했습니다.
runas /profile /user:emma powershell.exe
필요한 것을 얻기 위해 어떻게든 변경할 수 있나요?
답변1
당신은 다음과 같은 것을 원합니다
Start-Process powershell.exe -Credential "emma" -NoNewWindow -ArgumentList "Start-Process powershell.exe -Verb runAs"
Emma가 관리자라고 가정합니다.