If you close the command line in Server Core, follow these steps to restore the command line:
- Press Ctrl + Alt + Del and select Task Manager
- In Task Manager, select More Details
- Select File > Run new task
- In the Create new task pop-up box, type cmd and select OK. The command line prompt should now reappear.