June 2025
Beginner to intermediate
473 pages
13h 30m
English
Start-Process allows you to start a new process, such as the Notepad editor for first tests:
> Start-Process notepad
Start-Process starts the process in the background. If you do not want it to start, you can pass the -Wait option to it. Then, the terminal or your script will be blocked until the process ends.
Usually, the new process has the same rights as the terminal or your script. To run a new process with admin rights, you must use -Verb RunAs. However, a warning dialog will then display in which the user of the computer must confirm that the app can make changes to the computer.
Get-Process returns a list of all processes running on the computer. If you specify a process name as a parameter, only processes with ...
Read now
Unlock full access