Return to PowerShell mode after switching to cmd mode

From PowerShell, we can run cmd

to switch to the command line. From there, how can we go back to PowerShell. For example...

PS> cmd
C:\temp> echo I am in command mode.
I am in command mode.

C:\temp> echo How do I switch back to PowerShell mode?
How do I switch back to PowerShell mode?

      

+3


source to share


1 answer


Enter exit

.



PS C:\Scripts> cmd
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Scripts>exit
PS C:\Scripts>

      

+4


source







All Articles