Skip to content

Commit ab78062

Browse files
authored
Merge branch 'master' into patch-1
2 parents f341c60 + 6ceea78 commit ab78062

28 files changed

+103
-75
lines changed

docset/windows/addsadministration/remove-adgroupmember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Aliases: cf
119119

120120
Required: False
121121
Position: Named
122-
Default value: False
122+
Default value: True
123123
Accept pipeline input: False
124124
Accept wildcard characters: False
125125
```

docset/windows/addsadministration/search-adaccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Accept wildcard characters: False
218218
Indicates that this cmdlet searches for accounts that have not logged in within a given time period or since a specified time.
219219
To specify a time period, use the *TimeSpan* parameter.
220220
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.
222222
223223
```yaml
224224
Type: SwitchParameter

docset/windows/addsadministration/set-adserviceaccount.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,6 @@ The following example shows how to add and remove service principal names:
783783
-ServicePrincipalNames @{Add="SQLservice\accounting.corp.contoso.com:1456"};{Remove="SQLservice\finance.corp.contoso.com:1456"}
784784
```
785785

786-
<br>
787-
788786
```yaml
789787
Type: Hashtable
790788
Parameter Sets: (All)

docset/windows/addsadministration/set-aduser.md

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,10 +1312,39 @@ Accept wildcard characters: False
13121312
```
13131313

13141314
### -ServicePrincipalNames
1315-
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.
1316+
1317+
Syntax:
1318+
1319+
To add values:
1320+
1321+
`-ServicePrincipalNames @{Add=value1,value2,...}`
1322+
1323+
To remove values:
1324+
1325+
`-ServicePrincipalNames @{Remove=value3,value4,...}`
1326+
1327+
To replace values:
1328+
1329+
`-ServicePrincipalNames @{Replace=value1,value2,...}`
1330+
1331+
To clear all values:
1332+
1333+
`-ServicePrincipalNames $null`
1334+
1335+
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.
1336+
1337+
`@{Add=value1,value2,...};@{Remove=value3,value4,...}`
1338+
1339+
The operators will be applied in the following sequence:
1340+
1341+
- Remove
1342+
- Add
1343+
- Replace
1344+
1345+
The following example shows how to add and remove service principal names.
1346+
1347+
`-ServicePrincipalNames-@{Add="SQLservice\accounting.corp.contoso.com:1456"};{Remove="SQLservice\finance.corp.contoso.com:1456"}`
13191348

13201349
```yaml
13211350
Type: Hashtable

docset/windows/adfs/add-adfsrelyingpartytrust.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Add-AdfsRelyingPartyTrust -Name <String> -Identifier <String[]> [-EncryptClaims
5050

5151
### MetadataFile
5252
```
53-
Add-AdfsRelyingPartyTrust -Name <String> [-EncryptClaims <Boolean>] [-Enabled <Boolean>]
54-
[-MetadataFile <String>] [-AutoUpdateEnabled <Boolean>] [-EncryptedNameIdRequired <Boolean>]
53+
Add-AdfsRelyingPartyTrust -Name <String> -MetadataFile <String> [-EncryptClaims <Boolean>]
54+
[-Enabled <Boolean>] [-AutoUpdateEnabled <Boolean>] [-EncryptedNameIdRequired <Boolean>]
5555
[-SignedSamlRequestsRequired <Boolean>] [-Notes <String>] [-SignatureAlgorithm <String>]
5656
[-SigningCertificateRevocationCheck <String>] [-TokenLifetime <Int32>] [-AlwaysRequireAuthentication]
5757
[-RequestMFAFromClaimsProviders] [-AllowedAuthenticationClassReferences <String[]>]
@@ -70,7 +70,7 @@ Add-AdfsRelyingPartyTrust -Name <String> [-EncryptClaims <Boolean>] [-Enabled <B
7070

7171
### MetadataUrl
7272
```
73-
Add-AdfsRelyingPartyTrust -Name <String> [-EncryptClaims <Boolean>] [-Enabled <Boolean>] [-MetadataUrl <Uri>]
73+
Add-AdfsRelyingPartyTrust -Name <String> -MetadataUrl <Uri> [-EncryptClaims <Boolean>] [-Enabled <Boolean>]
7474
[-AutoUpdateEnabled <Boolean>] [-EncryptedNameIdRequired <Boolean>] [-SignedSamlRequestsRequired <Boolean>]
7575
[-Notes <String>] [-SignatureAlgorithm <String>] [-SigningCertificateRevocationCheck <String>]
7676
[-TokenLifetime <Int32>] [-AlwaysRequireAuthentication] [-RequestMFAFromClaimsProviders]
@@ -543,7 +543,7 @@ Type: String
543543
Parameter Sets: MetadataFile
544544
Aliases:
545545

546-
Required: False
546+
Required: True
547547
Position: Named
548548
Default value: None
549549
Accept pipeline input: False
@@ -558,7 +558,7 @@ Type: Uri
558558
Parameter Sets: MetadataUrl
559559
Aliases:
560560

561-
Required: False
561+
Required: True
562562
Position: Named
563563
Default value: None
564564
Accept pipeline input: False

docset/windows/appx/invoke-commandindesktoppackage.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ This command invokes the demo.exe that can be found in '29270sandstorm.AppPackag
4343

4444
### -AppId
4545
AppId is the Application ID from the package manifest.
46-
<Application Id="blah" ... />
47-
</Application>
46+
47+
```xml
48+
<Application Id="blah" ... />
49+
</Application>
50+
```
4851

4952
```yaml
5053
Type: String

docset/windows/dism/add-windowscapability.md

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 12/21/2016
1111
ms.prod: w10
1212
ms.technology: powershell-windows
1313
ms.topic: reference
14-
online version:
14+
online version: https://docs.microsoft.com/powershell/module/dism/add-windowscapability?view=win10-ps
1515
schema: 2.0.0
1616
title: Add-WindowsCapability
1717
ms.reviewer:
@@ -43,25 +43,32 @@ The **Add-WindowsCapability** cmdlet acquires a Windows capability package from
4343

4444
## EXAMPLES
4545

46-
### Example 1: Add a Windows capability package to an image
46+
### Example 1: Add a Windows capability package to the running OS via the Windows Update client
4747
```
48-
PS C:\> Add-WindowsCapability -Name "Language.TextToSpeech~~~fr-FR~0.0.1.0" -Path "C:\offline" -Source "C:\Windows\winsxs"
48+
PS C:\> Add-WindowsCapability -Online -Name "Msix.PackagingTool.Driver~~~~0.0.1.0"
4949
```
50+
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.
5051

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
53+
```
54+
PS C:\> Add-WindowsCapability -Online -Name "Msix.PackagingTool.Driver~~~~0.0.1.0" -Source "E:\" -LimitAccess
55+
```
56+
57+
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:\`.
5360

54-
### Example 2: Add a Windows capability package to the local host
61+
### Example 3: Add a Windows capability package to an image
5562
```
56-
PS C:\> Add-WindowsCapability -Name "Language.TextToSpeech~~~fr-FR~0.0.1.0" -Online -LimitAccess -Source "C:\Windows\winsxs"
63+
PS C:\> Add-WindowsCapability -Path "C:\mount\Windows" -Name "Msix.PackagingTool.Driver~~~~0.0.1.0" -Source "E:\"
5764
```
5865

59-
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:\`.
6067

6168
## PARAMETERS
6269

6370
### -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.
6572

6673
```yaml
6774
Type: SwitchParameter
@@ -92,14 +99,14 @@ Accepted values: Errors, Warnings, WarningsInfo
9299

93100
Required: False
94101
Position: Named
95-
Default value: None
102+
Default value: 3
96103
Accept pipeline input: True (ByPropertyName)
97104
Accept wildcard characters: False
98105
```
99106
100107
### -LogPath
101108
Specifies the full path and file name to log to.
102-
If not set, the default is `%WINDIR%\Logs\Dism\dism.log`.
109+
If not set, the default is `$env:WINDIR\Logs\Dism\dism.log`.
103110
In Windows PE, the default directory is the RAMDISK scratch space which can be as low as 32 MB.
104111
The log file will automatically be archived.
105112
The archived log file will be saved with .bak appended to the file name and a new log file will be generated.
@@ -185,13 +192,9 @@ Accept wildcard characters: False
185192
```
186193

187194
### -Source
188-
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.
193196

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.
195198

196199
*Source* can only be used when servicing images that are running at least Windows® 8 or Windows Server® 2012.
197200

@@ -252,9 +255,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
252255

253256
## NOTES
254257

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).
256259

257-
[Get-WindowsCapability](./Get-WindowsCapability.md)
260+
## RELATED LINKS
258261

259-
[Remove-WindowsCapability](./Remove-WindowsCapability.md)
262+
- [Get-WindowsCapability](./Get-WindowsCapability.md)
263+
- [Remove-WindowsCapability](./Remove-WindowsCapability.md)
260264

docset/windows/dism/set-windowsedition.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ You should not use the **Set-WindowsEdition** on an image that has already been
3838
It is recommended that you use this option on the lowest edition available in the edition family.
3939

4040
You can only change the edition on a running operating system for Windows Server images, not online Windows client images.
41-
The *ProductKey* parameter is required for changing online Server images.
4241

4342
## EXAMPLES
4443

docset/windows/failoverclusters/get-clusterlog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Mode LastWriteTime Length Name
4848
-a--- 9/4/2008 3:53 PM 1261025 Cluster.log
4949
```
5050

51-
This command creates a log file for the local cluster in the cluster reports folder on each node of the cluster.
51+
This command creates a log file for the local cluster in the cluster reports folder (C:\Windows\Cluster\Reports) on each node of the cluster.
5252

5353
### Example 2: Create log files for each node and save them locally
5454
```
@@ -70,7 +70,7 @@ Mode LastWriteTime Length Name
7070
-a--- 9/4/2008 4:01 PM 104181 Cluster.log
7171
```
7272

73-
This command creates a log file for the local cluster in the cluster reports folder on each node of the cluster.
73+
This command creates a log file for the local cluster in the cluster reports folder (C:\Windows\Cluster\Reports) on each node of the cluster.
7474
The log covers the last 5 minutes.
7575

7676
## PARAMETERS
@@ -94,6 +94,7 @@ Accept wildcard characters: False
9494
### -Destination
9595
Specifies the location to which to copy one or more cluster logs.
9696
To copy to the current folder, use `.` for this parameter input.
97+
Default location is C:\Windows\Cluster\Reports.
9798

9899
```yaml
99100
Type: String

docset/windows/failoverclusters/set-clusterlog.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ The acceptable values for this parameter are:`0` to `5`.
9595

9696
| Level | Error | Warning | Info | Verbose | Debug |
9797
|:-----|:-----|:-----|:-----|:-----|:-----|
98-
|0 (Disabled) <br/> ||||||
99-
|1 <br/> |&#x2714;||||
100-
|2 <br/> |&#x2714;|&#x2714;|||
101-
|3 (Default) <br/> |&#x2714;|&#x2714;|&#x2714;||
102-
|4 <br/> |&#x2714;|&#x2714;|&#x2714;|&#x2714;|
103-
|5 <br/> |&#x2714;|&#x2714;|&#x2714;|&#x2714;|&#x2714;|
98+
|0 (Disabled) ||||||
99+
|1 |&#x2714;||||
100+
|2 |&#x2714;|&#x2714;|||
101+
|3 (Default) |&#x2714;|&#x2714;|&#x2714;||
102+
|4 |&#x2714;|&#x2714;|&#x2714;|&#x2714;|
103+
|5 |&#x2714;|&#x2714;|&#x2714;|&#x2714;|&#x2714;|
104104

105105
```yaml
106106
Type: Int32

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy