What I try to accomplish is running some RSAT Tools out of a Powershell-Script as another user (Domain-Admin). Here is my run code: Start-Process -FilePath "C:\Windows\system32\mmc.exe" ...
I would like to run commands in PowerShell with Administrator permissions? How can I do that? I have tried to start PowerShell with the runas command, but PowerShell is closed immediately after I ...