Process Relationships in PowerShell

InspirationalBlackberryBush avatar
InspirationalBlackberryBush
·
·
Download

Start Quiz

Study Flashcards

10 Questions

The notepad.exe process is the parent process for Powershell.

False

The Powershell process will terminate when the notepad.exe process terminates.

False

The notepad.exe process will terminate when the Powershell process terminates.

False

The Powershell process is the parent process for notepad.exe.

True

Notepad.exe and Powershell are running in the same process space.

False

The startup of notepad.exe is a blocking call in Powershell.

False

When you close notepad.exe, the Powershell process also terminates.

False

In the process hierarchy, notepad.exe is a child process of Powershell.

True

The notepad.exe process communicates with the Powershell process through an inter-process communication mechanism.

False

You can use Powershell commands to manipulate the notepad.exe process.

True

Study Notes

Process Relationships

  • When notepad.exe is launched from a PowerShell command line, the PowerShell process is the parent process for notepad.exe.
  • The notepad.exe process does not terminate when the PowerShell process terminates.
  • The PowerShell process does not terminate when the notepad.exe process terminates.

Launching Notepad from PowerShell

  • When you launch notepad.exe from a PowerShell command line, PowerShell is the parent process for notepad.exe.
  • This means that the PowerShell process will continue running even after notepad.exe is started.
  • The notepad.exe process will not terminate when the PowerShell process terminates.
  • The correct relationship between the two processes is that PowerShell is the parent, and notepad.exe is the child process.

Learn about the relationships between processes when launching notepad.exe from a PowerShell command line. Understand how the parent process and child process interact and terminate.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser