Summary: Learn how to directly enter a Windows PowerShell nested prompt.
How can you directly enter a nested prompt without going through a cmdlet and using Suspend?
Use the EnterNestedPrompt method from the $host object:
PS C:\> $host.EnterNestedPrompt()
PS C:\>> exit
0 comments