You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies what regions an app package (.appx or .appxbundle) must be provisioned in. The region argument can either be “all”, indicating that the app should be provisioned for all regions, or it can be a semi-colon delimited list of regions. The regions will be in the form of [ISO 3166-1 Alpha-2 or ISO 3166-1 Alpha-3 codes](https://en.wikipedia.org/wiki/ISO_3166-1). For example, the United States can be specified as either "US" or "USA" (case-insensitive). When a list of regions is not specified, the package will be provisioned only if it is pinned to start layout.
243
+
Specifies what regions an app package (.appx or .appxbundle) must be provisioned in. The region argument can either be "all", indicating that the app should be provisioned for all regions, or it can be a semi-colon delimited list of regions. The regions will be in the form of [ISO 3166-1 Alpha-2 or ISO 3166-1 Alpha-3 codes](https://en.wikipedia.org/wiki/ISO_3166-1). For example, the United States can be specified as either "US" or "USA" (case-insensitive). When a list of regions is not specified, the package will be provisioned only if it is pinned to start layout.
@@ -63,7 +64,7 @@ Indicates that this cmdlet does not query Windows Update for source packages whe
63
64
```yaml
64
65
Type: SwitchParameter
65
66
Parameter Sets: (All)
66
-
Aliases:
67
+
Aliases:
67
68
68
69
Required: False
69
70
Position: Named
@@ -94,7 +95,7 @@ If not set, the default is `"$env:WINDIR\Logs\Dism\dism.log"`.
94
95
In Windows PE, the default directory is the RAMDISK scratch space which can be as low as 32 MB.
95
96
The log file will automatically be archived.
96
97
The archived log file will be saved with .bak appended to the file name and a new log file will be generated.
97
-
Each time the log file is archived the .bak file will be overwritten.
98
+
Each time the log file is archived the .bak file will be overwritten.
98
99
When using a network share that is not joined to a domain, use the net use command together with domain credentials to set access permissions before you set the log path for the DISM log.
99
100
100
101
```yaml
@@ -115,7 +116,7 @@ Specifies the identity of the capability to add to an operating system image.
115
116
```yaml
116
117
Type: String
117
118
Parameter Sets: (All)
118
-
Aliases:
119
+
Aliases:
119
120
120
121
Required: True
121
122
Position: Named
@@ -130,7 +131,7 @@ Indicates that the cmdlet operates on a running operating system on the local ho
130
131
```yaml
131
132
Type: SwitchParameter
132
133
Parameter Sets: Online
133
-
Aliases:
134
+
Aliases:
134
135
135
136
Required: True
136
137
Position: Named
@@ -146,7 +147,7 @@ If the directory named Windows is not a subdirectory of the root directory, *Win
Specifies a temporary directory that will be used when extracting files for use during servicing.
160
161
The directory must exist locally.
161
162
If not specified, the `"$env:Temp"` directory will be used, with a subdirectory name of a randomly generated hexadecimal value for each run of DISM.
162
-
Items in the scratch directory are deleted after each operation.
163
+
Items in the scratch directory are deleted after each operation.
163
164
You should not use a network share location as a scratch directory to expand a package (.cab or .msu file) for installation.
164
165
The directory used for extracting files for temporary usage during servicing should be a local directory.
165
166
166
167
```yaml
167
168
Type: String
168
169
Parameter Sets: (All)
169
-
Aliases:
170
+
Aliases:
170
171
171
172
Required: False
172
173
Position: Named
@@ -180,12 +181,12 @@ Specifies the location of the files that are required to add a Windows capabilit
180
181
181
182
If you do not specify a *Source*, the default location set by Group Policy is used. If that fails, Windows Update is also used for online images, unless *LimitAccess* is specified. When all fail, the cmdlet fails silently; no exceptions are thrown.
182
183
183
-
*Source* can only be used when servicing images that are running at least Windows® 8 or Windows Server® 2012.
184
+
*Source* can only be used when servicing images that are running at least Windows 8 or Windows Server 2012.
184
185
185
186
```yaml
186
187
Type: String[]
187
188
Parameter Sets: (All)
188
-
Aliases:
189
+
Aliases:
189
190
190
191
Required: False
191
192
Position: Named
@@ -202,7 +203,7 @@ Use -SystemDrive to service an installed Windows image from a Windows PE environ
202
203
```yaml
203
204
Type: String
204
205
Parameter Sets: (All)
205
-
Aliases:
206
+
Aliases:
206
207
207
208
Required: False
208
209
Position: Named
@@ -219,7 +220,7 @@ If not specified, the default is the Windows directory in the root of the offlin
The **Add-WindowsImage** cmdlet adds an additional image to an existing image (.wim) file.
26
26
**Add-WindowsImage** compares new files to the resources in the existing .wim file, specified by the *Name* parameter and the *ImagePath* parameter, and stores only a single copy of each unique file so that each file is only captured once.
27
27
The .wim file can have only one assigned compression type.
28
-
Therefore, you can only append files with the same compression type.
28
+
Therefore, you can only append files with the same compression type.
29
29
30
-
The **Add-WindowsImage** cmdlet does not apply to virtual hard disk (VHD) files.
30
+
The **Add-WindowsImage** cmdlet does not apply to virtual hard disk (VHD) files.
31
31
32
32
It's important to note that you'll need to ensure you have enough disk space before you run **Add-WindowsImage**.
33
33
If you run out of disk space while the image is being appended, you might corrupt the .wim file.
@@ -49,7 +49,7 @@ Specifies the path to the location of the new files that will be compared to the
49
49
```yaml
50
50
Type: String
51
51
Parameter Sets: (All)
52
-
Aliases:
52
+
Aliases:
53
53
54
54
Required: True
55
55
Position: Named
@@ -65,7 +65,7 @@ CheckIntegrity stops the operation if DISM detects that the .wim file is corrupt
65
65
```yaml
66
66
Type: SwitchParameter
67
67
Parameter Sets: (All)
68
-
Aliases:
68
+
Aliases:
69
69
70
70
Required: False
71
71
Position: Named
@@ -81,7 +81,7 @@ For more information, see [DISM Configuration List and WimScript.ini Files](http
81
81
```yaml
82
82
Type: String
83
83
Parameter Sets: (All)
84
-
Aliases:
84
+
Aliases:
85
85
86
86
Required: False
87
87
Position: Named
@@ -96,7 +96,7 @@ Specifies the description of the image to be captured.
96
96
```yaml
97
97
Type: String
98
98
Parameter Sets: (All)
99
-
Aliases:
99
+
Aliases:
100
100
101
101
Required: False
102
102
Position: Named
@@ -111,7 +111,7 @@ Specifies the location of the WIM file containing the Windows image you want to
111
111
```yaml
112
112
Type: String
113
113
Parameter Sets: (All)
114
-
Aliases:
114
+
Aliases:
115
115
116
116
Required: True
117
117
Position: Named
@@ -148,7 +148,7 @@ If not set, the default is `%WINDIR%\Logs\Dism\dism.log`.
148
148
In Windows PE, the default directory is the RAMDISK scratch space which can be as low as 32 MB.
149
149
The log file will automatically be archived.
150
150
The archived log file will be saved with .bak appended to the file name and a new log file will be generated.
151
-
Each time the log file is archived the .bak file will be overwritten.
151
+
Each time the log file is archived the .bak file will be overwritten.
152
152
When using a network share that is not joined to a domain, use the net use command together with domain credentials to set access permissions before you set the log path for the DISM log.
153
153
154
154
```yaml
@@ -169,7 +169,7 @@ Specifies the name of an image in a WIM file.
169
169
```yaml
170
170
Type: String
171
171
Parameter Sets: (All)
172
-
Aliases:
172
+
Aliases:
173
173
174
174
Required: True
175
175
Position: Named
@@ -186,7 +186,7 @@ If the parameter is not specified, reparse points that resolve to paths outside
Specifies a temporary directory that will be used when extracting files for use during servicing.
200
200
The directory must exist locally.
201
201
If not specified, the `\Windows\%Temp%` directory will be used, with a subdirectory name of a randomly generated hexadecimal value for each run of DISM.
202
-
Items in the scratch directory are deleted after each operation.
202
+
Items in the scratch directory are deleted after each operation.
203
203
You should not use a network share location as a scratch directory to expand a package (.cab or .msu file) for installation.
204
204
The directory used for extracting files for temporary usage during servicing should be a local directory.
205
205
206
206
```yaml
207
207
Type: String
208
208
Parameter Sets: (All)
209
-
Aliases:
209
+
Aliases:
210
210
211
211
Required: False
212
212
Position: Named
@@ -223,7 +223,22 @@ Only one volume image can be marked as bootable in a .wim file.
During an apply operation, for example, using the **Add-WindowsImage** cmdlet, the size and the hash of the file being applied are checked against the image file to verify they are both equal.
251
+
Checks for errors and file duplication.
252
+
During an apply operation, for example, using the **Add-WindowsImage** cmdlet, the size and the hash of the file being applied are checked against the image file to verify they are both equal.
238
253
During a capture operation, for example, when using the **New-WindowsImage** cmdlet, after the files is captured into a Windows image, the file is written to a temporary file and compared on a bit-by-bit basis with the original file.
239
254
240
255
```yaml
241
256
Type: SwitchParameter
242
257
Parameter Sets: (All)
243
-
Aliases:
258
+
Aliases:
244
259
245
260
Required: False
246
261
Position: Named
@@ -255,7 +270,7 @@ Specifies that the offline image to be added will be formatted to install on a W
0 commit comments