
To return to PowerShell, type exit and press Enter. If you're a PowerShell user, you can open a Command Prompt session from PowerShell by typing cmd and pressing Enter.
To open an administrative Command Prompt window in the current folder, use this hidden Windows 10 feature: Navigate to the folder you want to use, then tap Alt, F, M, A (that keyboard shortcut is the same as switching to the File tab on the ribbon, then choosing Open command prompt as administrator). That opens a non-admin Command Prompt session in the selected location. In a File Explorer window, hold down Shift as you right-click on a folder or drive. Search for PowerShell, right-click the top result, and select the Run as administrator option. That opens a non-admin Command Prompt session in the current folder. To change the execution policy to run PowerShell scripts on Windows 10, use these steps: Open Start. From File Explorer, click in the address bar to select its contents then type cmd and press Enter. To open the session as an administrator, press Alt+Shift+Enter. Type cmd in the search box, then press Enter to open the highlighted Command Prompt shortcut.
You can also use keyboard shortcuts for this route: Windows key + X, followed by C (non-admin) or A (admin).
Right-click Start and choose Command Prompt or Command Prompt (Admin) from the Quick Link menu.