Skip to content

Commit d33f5c4

Browse files
authored
Merge pull request #109530 from asinn826/master
Add PS bcdedit command
2 parents 8617f11 + d7740f6 commit d33f5c4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/virtual-machines/troubleshooting/serial-console-windows.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Alternatively, to manually enable the serial console for Windows VMs/virtual mac
5757

5858
1. Connect to your Windows virtual machine by using Remote Desktop
5959
1. From an administrative command prompt, run the following commands:
60-
- `bcdedit /ems {current} on`
60+
- `bcdedit /ems {current} on`, or `bcdedit /ems '{current}' on` if you are using PowerShell
6161
- `bcdedit /emssettings EMSPORT:1 EMSBAUDRATE:115200`
6262
1. Reboot the system for the SAC console to be enabled.
6363

@@ -99,15 +99,15 @@ If you need to enable Windows boot loader prompts to display in the serial conso
9999

100100
![Connect to SAC](./media/virtual-machines-serial-console/virtual-machine-windows-serial-console-connect-sac.png)
101101

102-
1. Enter `cmd` to create a channel that has a CMD instance.
102+
1. Enter `cmd` to create a channel that has a CMD instance.
103103

104-
1. Enter `ch -si 1` or press `<esc>+<tab>` shortcut keys to switch to the channel that's running the CMD instance.
104+
1. Enter `ch -si 1` or press `<esc>+<tab>` shortcut keys to switch to the channel that's running the CMD instance.
105105

106-
1. Press **Enter**, and then enter sign-in credentials with administrative permissions.
106+
1. Press **Enter**, and then enter sign-in credentials with administrative permissions.
107107

108-
1. After you've entered valid credentials, the CMD instance opens.
108+
1. After you've entered valid credentials, the CMD instance opens.
109109

110-
1. To start a PowerShell instance, enter `PowerShell` in the CMD instance, and then press **Enter**.
110+
1. To start a PowerShell instance, enter `PowerShell` in the CMD instance, and then press **Enter**.
111111

112112
![Open PowerShell instance](./media/virtual-machines-serial-console/virtual-machine-windows-serial-console-powershell.png)
113113

0 commit comments

Comments
 (0)