Summary: Learn how to directly enter a Windows PowerShell nested prompt.

 Hey, Scripting Guy! Question How can you directly enter a nested prompt without going through a cmdlet and using Suspend?

Hey, Scripting Guy! Answer Use the EnterNestedPrompt method from the $host object:

PS C:\> $host.EnterNestedPrompt()

PS C:\>> exit