You may start an Administrative Powershell from a separate shell by using the `-Verb RunAs` parameter like this:
```powershell
Start-Process Powershell -Verb RunAs
```
This will create an elevated Powershell instance, however the new instance of powershell will be targeting a new path: `C:\WINDOWS\System32\`. If you'd like to open Powershell at a custom directory or the current shells directory you may pass in a Working Directory. For example: `Start-Process Powershell -Verb RunAs -WorkingDirectory .` creates a new shell in the current directory with elevated permissions.
This works with other programs as well. If you want an admin Command Prompt for example you could run this:
```powershell
Start-Process cmd -verb runas
```
References
`Start-Process` documentation: https://docs.microsoft.com/en-us/powe...
Join the World of Zero Discord Server: / discord
In questa pagina del sito puoi guardare il video online Using Start-Process to Start an Admin Powershell Instance - Quick Tip della durata di ore minuti seconda in buona qualità , che l'utente ha caricato World of Zero 02 marzo 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 14,238 volte e gli è piaciuto 116 spettatori. Buona visione!