Connecting to the serial console with Windows
Serial console isn't enabled by default on Windows®. You need to enable it by using the following script.
#ps1_sysnative
bcdedit /ems on
bcdedit /emssettings EMSPORT:2 EMSBAUDRATE:115200
Restart-Computer
The restart command works only if the windows cloudbase-init
service allows for restarts. If not, then you need to manually restart.
For more information about enabling serial console for Windows, see the following links.