From 1b8238e35fbaffbadd623b7f5376e1cf931eb052 Mon Sep 17 00:00:00 2001 From: DanHam Date: Fri, 13 Oct 2017 13:29:50 +0100 Subject: [PATCH] Fix missing powershell tags around User Data script --- website/source/intro/getting-started/build-image.html.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/intro/getting-started/build-image.html.md b/website/source/intro/getting-started/build-image.html.md index b7101dc82..f0ce6f200 100644 --- a/website/source/intro/getting-started/build-image.html.md +++ b/website/source/intro/getting-started/build-image.html.md @@ -327,6 +327,7 @@ You'll need to have a boostrapping file to enable ssh or winrm; here's a basic example of that file. ```powershell + # set administrator password net user Administrator SuperS3cr3t! wmic useraccount where "name='Administrator'" set PasswordExpires=FALSE @@ -353,6 +354,7 @@ set-service winrm -startupType automatic # Finally, allow WinRM connections and start the service netsh advfirewall firewall set rule name="WinRM" new action=allow net start winrm + ```