Skip to content

Commit 7ccc212

Browse files
committed
Pwsh syntax highlighting on github looks bad.
1 parent 883980b commit 7ccc212

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ syntax to continue a command on the next line.
9898

9999
### Clean installation using UEFI
100100

101-
```pwsh
101+
```text
102102
./GenerateAnswerFile autounattend.xml `
103103
-Install CleanEfi `
104104
-ProductKey ABCDE-12345-ABCDE-12345-ABCDE
@@ -109,7 +109,7 @@ system, using the default UEFI partition layout, and activates it using the spec
109109

110110
### Installing a 32 bit OS
111111

112-
```pwsh
112+
```text
113113
./GenerateAnswerFile autounattend.xml `
114114
-Install CleanBios `
115115
-ProcessorArchitecture x86 `
@@ -122,7 +122,7 @@ such as "x86" for 32 bit processors, or "arm64" for ARM based systems.
122122

123123
### Creating a user during installation
124124

125-
```pwsh
125+
```text
126126
./GenerateAnswerFile autounattend.xml `
127127
-Install CleanEfi `
128128
-LocalAccount "John,Password" "Steve,OtherPassword" `
@@ -138,7 +138,7 @@ All accounts created during this method will be members of the local Administrat
138138

139139
### Joining a domain and automatic log-on
140140

141-
```pwsh
141+
```text
142142
./GenerateAnswerFile unattend.xml `
143143
-ComputerName mypc `
144144
-JoinDomain mydomain `
@@ -164,7 +164,7 @@ the [`-AutoLogonCount`][] argument[^1].
164164

165165
### Joining a domain using provisioning
166166

167-
```pwsh
167+
```text
168168
./GenerateAnswerFile unattend.xml `
169169
-Install CleanEfi
170170
-JoinDomainProvisioningFile AccountData.txt `
@@ -198,7 +198,7 @@ size is the size of the partition. The size can use multiple-byte units, such as
198198
will be rounded down to a whole number of megabytes. If the size is `*`, it indicates the partition
199199
will fill the remainder of the disk.
200200

201-
```pwsh
201+
```text
202202
./GenerateAnswerFile autounattend.xml `
203203
-Install CleanEFI `
204204
-ProductKey ABCDE-12345-ABCDE-12345-ABCDE `
@@ -238,7 +238,7 @@ volumes in that partition.
238238
Answer files can be used to enable optional features during installation. To do this, use the
239239
[`-Feature`][] argument. This argument can take multiple values to enable multiple features.
240240

241-
```pwsh
241+
```text
242242
./GenerateAnswerFile autounattend.xml `
243243
-Install CleanEfi `
244244
-Feature Microsoft-Windows-Subsystem-Linux VirtualMachinePlatform `
@@ -264,15 +264,15 @@ using sysprep, or by using DISM tools.
264264

265265
### First log-on commands and scripts
266266

267-
```pwsh
267+
```text
268268
./GenerateAnswerFile autounattend.xml `
269269
-Install CleanEfi `
270270
-FirstLogonCommand "reg add HKCU\Software\MyCompany /v ImportantRegistryKey /t REG_DWORD /d 1 /f" `
271271
-SetupScript "\\server\share\script.ps1 -Argument" `
272272
-LocalAccount "John,Password" `
273273
-AutoLogonUser John `
274274
-AutoLogonPassword Password `
275-
-ProductKey "ABCDE-12345-ABCDE-12345-ABCDE"
275+
-ProductKey ABCDE-12345-ABCDE-12345-ABCDE
276276
```
277277

278278
The [`-FirstLogonCommand`][] argument can be used to execute a command when a user first logs on to the

0 commit comments

Comments
 (0)