Final answer:
The start of a PowerShell session is usually indicated by the opening of the PowerShell console or ISE window along with a user prompt, while the end of a session is marked by closing the window or typing the 'exit' command. In scripted environments, the session begins with the invocation of the PowerShell executable and ends when the process terminates.
Step-by-step explanation:
Indicators of the start and stop of a PowerShell session are not like those of a graphical user interface with windows opening or closing. Rather, when you launch PowerShell, the indication of the start of the session is typically the PowerShell console or Integrated Scripting Environment (ISE) window opening, along with a prompt that usually consists of the path to your current directory followed by a greater-than symbol (>). For example:
C:\Users\YourName>
This prompt signifies that PowerShell is ready to accept commands. The stop or end of a PowerShell session is indicated when you close the console window, or when you type the exit command and press the 'Enter' key, which will return you to the previous shell or close the window if PowerShell was the first shell opened.
In scripted environments or when running automated tasks, the start of the PowerShell process is indicated by the invocation of the PowerShell executable (powershell.exe or pwsh for PowerShell Core on non-Windows systems), and the session stops when the process finishes execution of the script and terminates.