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
Indicates that this cmdlet searches for accounts that have not logged in within a given time period or since a specified time.
219
219
To specify a time period, use the *TimeSpan* parameter.
220
220
To specify a specific time, use the *DateTime* parameter.
221
-
Note that this attribute is only used when the domain is in Windows Server 2003 Domain Functional Level, so this parameter will only work in that mode.
221
+
Note that this attribute is only used when the domain is in Windows Server 2003 Domain Functional Level or higher, so this parameter will only work in that mode.
Use the **DateTime** syntax when you specify this parameter.
1316
-
Time is assumed to be local time unless otherwise specified.
1317
-
When a time value is not specified, the time is assumed to 12:00:00 AM local time.
1318
-
When a date is not specified, the date is assumed to be the current date.
1315
+
Specifies the service principal names for the account. This parameter sets the ServicePrincipalNames property of the account. The LDAP display name (ldapDisplayName) for this property is servicePrincipalName. This parameter uses the following syntax to add, remove, replace or clear service principal name values.
You can specify more than one change by using a list separated by semicolons. For example, use the following syntax to add and remove service principal names.
This command adds a Windows capability package to the running operating system. Because no source is specified, the Windows Update client will download the necessary package. It requires either an active Internet connection or an active network connection to the local Windows Server Update Services (WSUS) server.
50
51
51
-
This command adds a Windows capability package to the operating system image specified by the *Name* parameter at the path C:\offline.
52
-
The *Source* parameter specifies the location of required files.
52
+
### Example 2: Add a Windows capability package to the running OS using a locally stored package file
This command adds a Windows capability package specified by the *Name* parameter, to the running operating system. The *Source* parameter specifies the location of required files. For instance, if the running OS is a copy of Windows 10 version 1809, the `Msix-PackagingTool-Driver-Package~31bf3856ad364e35~amd64~~.cab` file must be present at `E:\`.
58
+
59
+
If the package specified by the *Name* parameter is already installed, this command does not return an error message, regardless of whether the required files are present at `E:\`.
53
60
54
-
### Example 2: Add a Windows capability package to the local host
61
+
### Example 3: Add a Windows capability package to an image
This command adds a windows capabilities package the local host while the operating system continues to run.
66
+
This command adds a Windows capability package specified by the *Name* parameter, to the operating system image at the path C:\mount\Windows. The *Source* parameter specifies the location of required files. For instance, if the mount point contains a copy of Windows 10 version 1809, the `Msix-PackagingTool-Driver-Package~31bf3856ad364e35~amd64~~.cab` file must present at `E:\`.
60
67
61
68
## PARAMETERS
62
69
63
70
### -LimitAccess
64
-
Indicates that this cmdlet does not access Windows Update for the source package.
71
+
Indicates that this cmdlet does not query Windows Update for source packages when servicing a live OS. Only applies when the `-Online` switch is specified.
Specifies the location of the files that are required to add a Windows capability package to an image.
189
-
You can specify the Windows directory of a mounted image or a running Windows installation that is shared on the network.
190
-
191
-
If you specify multiple *Source* arguments, the files are gathered from the first location where they are found and the rest of the locations are ignored.
192
-
Separate source locations with a comma.
195
+
Specifies the location of the files that are required to add a Windows capability package to an image. If you specify multiple *Source* arguments, the files are gathered from the first location where they are found and the rest of the locations are ignored. Separate source locations with a comma.
193
196
194
-
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, if *LimitAccess* is not specified. When all fail, the cmdlet fails silently; no exceptions are thrown.
197
+
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.
195
198
196
199
*Source* can only be used when servicing images that are running at least Windows® 8 or Windows Server® 2012.
197
200
@@ -252,9 +255,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
252
255
253
256
## NOTES
254
257
255
-
## RELATED LINKS
258
+
As of Windows 10 version 1709, you cannot use Windows Server Update Services (WSUS) to host Features on Demand (FOD) and language packs for Windows 10 clients. Instead, you can enforce a Group Policy setting that tells the clients to download them directly from Windows Update. You can also host FOD and language packs on a network share, but starting with Windows 10 version 1809, FOD and language packs can only be installed from Windows Update. For more information, see [How to make Features on Demand and language packs available when you're using WSUS/SCCM](https://docs.microsoft.com/windows/deployment/update/fod-and-lang-packs).
0 commit comments