Skip to content

Commit b170ced

Browse files
committed
Merge branch 'master' into fix/2448-missing-description
2 parents 3b8d9b0 + 65836f3 commit b170ced

File tree

1,172 files changed

+28559
-6040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,172 files changed

+28559
-6040
lines changed

.openpublishing.redirection.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5354,6 +5354,56 @@
53545354
"source_path": "docset/winserver2022-ps/WindowsUpdate/WindowsUpdate.md",
53555355
"redirect_url": "/powershell/module/windowsupdate/WindowsUpdate.md?view=windowsserver2022-ps",
53565356
"redirect_document_id": false
5357+
},
5358+
{
5359+
"source_path": "docset/winserver2022-ps/EventTracingManagement/Set-AutologgerConfig.md",
5360+
"redirect_url": "/powershell/module/eventtracingmanagement/Update-AutologgerConfig.md?view=windowsserver2022-ps",
5361+
"redirect_document_id": false
5362+
},
5363+
{
5364+
"source_path": "docset/winserver2016-ps/provisioning/Export-ProvisioningPackage.md",
5365+
"redirect_url": "/powershell/module/provisioning/Export-ProvisioningPackage.md",
5366+
"redirect_document_id": false
5367+
},
5368+
{
5369+
"source_path": "docset/winserver2016-ps/provisioning/Export-Trace.md",
5370+
"redirect_url": "/powershell/module/provisioning/Export-Trace.md",
5371+
"redirect_document_id": false
5372+
},
5373+
{
5374+
"source_path": "docset/winserver2016-ps/provisioning/Get-ProvisioningPackage.md",
5375+
"redirect_url": "/powershell/module/provisioning/Get-ProvisioningPackage.md",
5376+
"redirect_document_id": false
5377+
},
5378+
{
5379+
"source_path": "docset/winserver2016-ps/provisioning/Get-TrustedProvisioningCertificate.md",
5380+
"redirect_url": "/powershell/module/provisioning/Get-TrustedProvisioningCertificate.md",
5381+
"redirect_document_id": false
5382+
},
5383+
{
5384+
"source_path": "docset/winserver2016-ps/provisioning/Install-ProvisioningPackage.md",
5385+
"redirect_url": "/powershell/module/provisioning/Install-ProvisioningPackage.md",
5386+
"redirect_document_id": false
5387+
},
5388+
{
5389+
"source_path": "docset/winserver2016-ps/provisioning/Install-TrustedProvisioningCertificate.md",
5390+
"redirect_url": "/powershell/module/provisioning/Install-TrustedProvisioningCertificate.md",
5391+
"redirect_document_id": false
5392+
},
5393+
{
5394+
"source_path": "docset/winserver2016-ps/provisioning/Provisioning.md",
5395+
"redirect_url": "/powershell/module/provisioning/Provisioning.md",
5396+
"redirect_document_id": false
5397+
},
5398+
{
5399+
"source_path": "docset/winserver2016-ps/provisioning/Uninstall-ProvisioningPackage.md",
5400+
"redirect_url": "/powershell/module/provisioning/Uninstall-ProvisioningPackage.md",
5401+
"redirect_document_id": false
5402+
},
5403+
{
5404+
"source_path": "docset/winserver2016-ps/provisioning/Uninstall-TrustedProvisioningCertificate.md",
5405+
"redirect_url": "/powershell/module/provisioning/Uninstall-TrustedProvisioningCertificate.md",
5406+
"redirect_document_id": false
53575407
}
53585408
]
53595409
}

docset/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"manager": "femila",
7575
"feedback_system": "GitHub",
7676
"feedback_github_repo": "MicrosoftDocs/windows-powershell-docs",
77-
"feedback_product_url": "https://windowsserver.uservoice.com/forums/301869-powershell",
77+
"feedback_product_url": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332",
7878
"contributors_to_exclude": [
7979
"rjagiewich",
8080
"traya1",

docset/mapping/cabgenConfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,20 @@
33
{
44
"WindowsServer2022-ps": {
55
"exclude": [
6-
"docset/winserver2022-ps/hyper-v",
76
"docset/winserver2022-ps/Microsoft.DiagnosticDataViewer",
87
"docset/winserver2022-ps/Microsoft.Windows.ServerManager.Migration",
98
"docset/winserver2022-ps/windowsdiagnosticdata"
109
]
1110
},
1211
"WindowsServer2019-ps": {
1312
"exclude": [
14-
"docset/winserver2019-ps/hyper-v",
1513
"docset/winserver2019-ps/Microsoft.DiagnosticDataViewer",
1614
"docset/winserver2019-ps/Microsoft.Windows.ServerManager.Migration",
1715
"docset/winserver2019-ps/windowsdiagnosticdata"
1816
]
1917
},
2018
"WindowsServer2016-ps": {
2119
"exclude": [
22-
"docset/winserver2016-ps/hyper-v",
2320
"docset/winserver2016-ps/Microsoft.DiagnosticDataViewer",
2421
"docset/winserver2016-ps/Microsoft.Windows.ServerManager.Migration",
2522
"docset/winserver2016-ps/windowsdiagnosticdata"
@@ -28,13 +25,11 @@
2825
"winserver2012r2-ps": {
2926
"exclude": [
3027
"docset/winserver2012r2-ps/hpc",
31-
"docset/winserver2012r2-ps/hyper-v",
3228
"docset/winserver2012r2-ps/servermigrationcmdlets"
3329
]
3430
},
3531
"winserver2012-ps": {
3632
"exclude": [
37-
"docset/winserver2012-ps/hyper-v",
3833
"docset/winserver2012-ps/servermigrationcmdlets"
3934
]
4035
}

docset/winserver2012-ps/activedirectory/Get-ADUser.md

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ PS C:\> Get-ADUser -Identity ChewDavid -Properties *
8181
```Output
8282
Surname : David
8383
Name : Chew David
84-
UserPrincipalName :
84+
UserPrincipalName :
8585
GivenName : David
8686
Enabled : False
8787
SamAccountName : ChewDavid
@@ -100,6 +100,13 @@ PS C:\> Get-ADUser -Filter "Name -eq 'ChewDavid'" -SearchBase "DC=AppNC" -Proper
100100

101101
This command gets the user with the name ChewDavid in the Active Directory Lightweight Directory Services (AD LDS) instance.
102102

103+
### Example 5: Get all enabled user accounts
104+
```powershell
105+
C:\PS> Get-ADUser -LDAPFilter '(!userAccountControl:1.2.840.113556.1.4.803:=2)'
106+
```
107+
108+
This command gets all enabled user accounts in Active Directory using an LDAP filter.
109+
103110
## PARAMETERS
104111

105112
### -AuthType
@@ -116,7 +123,7 @@ A Secure Sockets Layer (SSL) connection is required for the Basic authentication
116123
```yaml
117124
Type: ADAuthType
118125
Parameter Sets: (All)
119-
Aliases:
126+
Aliases:
120127
Accepted values: Negotiate, Basic
121128

122129
Required: False
@@ -142,7 +149,7 @@ If the acting credentials do not have directory-level permission to perform the
142149
```yaml
143150
Type: PSCredential
144151
Parameter Sets: (All)
145-
Aliases:
152+
Aliases:
146153

147154
Required: False
148155
Position: Named
@@ -190,7 +197,7 @@ Note: To query using LDAP query strings, use the *LDAPFilter* parameter.
190197
```yaml
191198
Type: String
192199
Parameter Sets: Filter
193-
Aliases:
200+
Aliases:
194201
195202
Required: True
196203
Position: Named
@@ -205,8 +212,8 @@ The identifier in parentheses is the LDAP display name for the attribute.
205212
The acceptable values for this parameter are:
206213

207214
- A distinguished name
208-
- A GUID (objectGUID)
209-
- A security identifier (objectSid)
215+
- A GUID (objectGUID)
216+
- A security identifier (objectSid)
210217
- A SAM account name (sAMAccountName)
211218

212219
The cmdlet searches the default naming context or partition to find the object.
@@ -217,7 +224,7 @@ This parameter can also get this object through the pipeline or you can set this
217224
```yaml
218225
Type: ADUser
219226
Parameter Sets: Identity
220-
Aliases:
227+
Aliases:
221228
222229
Required: True
223230
Position: 0
@@ -235,7 +242,7 @@ For more information, see the *Filter* parameter description or type `Get-Help a
235242
```yaml
236243
Type: String
237244
Parameter Sets: LdapFilter
238-
Aliases:
245+
Aliases:
239246
240247
Required: True
241248
Position: Named
@@ -251,26 +258,26 @@ The cmdlet searches this partition to find the object defined by the *Identity*
251258

252259
In many cases, a default value is used for the *Partition* parameter if no value is specified.
253260
The rules for determining the default value are given below.
254-
Note that rules listed first are evaluated first and when a default value can be determined, no further rules are evaluated.
261+
Note that rules listed first are evaluated first, and when a default value can be determined, no further rules are evaluated.
255262

256-
In AD DS environments, a default value for *Partition* are set in the following cases:
263+
In AD DS environments, a default value for *Partition* is set in the following cases:
257264

258265
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
259-
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
266+
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
260267
- If none of the previous cases apply, the default value of *Partition* is set to the default partition or naming context of the target domain.
261268

262-
In AD LDS environments, a default value for *Partition* will be set in the following cases:
269+
In AD LDS environments, a default value for *Partition* is set in the following cases:
263270

264-
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
265-
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
271+
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
272+
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
266273
- If the target AD LDS instance has a default naming context, the default value of *Partition* is set to the default naming context.
267-
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
274+
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
268275
- If none of the previous cases apply, the *Partition* parameter does not take any default value.
269276

270277
```yaml
271278
Type: String
272279
Parameter Sets: Identity
273-
Aliases:
280+
Aliases:
274281
275282
Required: False
276283
Position: Named
@@ -311,7 +318,7 @@ The default is 256 objects per page.
311318
```yaml
312319
Type: Int32
313320
Parameter Sets: Filter, LdapFilter
314-
Aliases:
321+
Aliases:
315322
316323
Required: False
317324
Position: Named
@@ -330,7 +337,7 @@ The default is $Null.
330337
```yaml
331338
Type: Int32
332339
Parameter Sets: Filter, LdapFilter
333-
Aliases:
340+
Aliases:
334341
335342
Required: False
336343
Position: Named
@@ -349,13 +356,13 @@ When you run a cmdlet outside of an Active Directory provider drive against an A
349356
When you run a cmdlet outside of an Active Directory provider drive against an AD LDS target, the default value is the default naming context of the target LDS instance if one has been specified by setting the **msDS-defaultNamingContext** property of the Active Directory directory service agent (DSA) object (**nTDSDSA**) for the AD LDS instance.
350357
If no default naming context has been specified for the target AD LDS instance, then this parameter has no default value.
351358

352-
When the value of the *SearchBase* parameter is set to an empty string and you are connected to a GC port, all partitions will be searched.
353-
If the value of the *SearchBase* parameter is set to an empty string and you are not connected to a GC port, an error will be thrown.
359+
When the value of the *SearchBase* parameter is set to an empty string and you are connected to a GC port, all partitions are searched.
360+
If the value of the *SearchBase* parameter is set to an empty string and you are not connected to a GC port, an error is thrown.
354361

355362
```yaml
356363
Type: String
357364
Parameter Sets: Filter, LdapFilter
358-
Aliases:
365+
Aliases:
359366
360367
Required: False
361368
Position: Named
@@ -380,7 +387,7 @@ A Subtree query searches the current path or object and all children of that pat
380387
```yaml
381388
Type: ADSearchScope
382389
Parameter Sets: Filter, LdapFilter
383-
Aliases:
390+
Aliases:
384391
Accepted values: Base, OneLevel, Subtree
385392
386393
Required: False
@@ -407,14 +414,14 @@ Directory server values:
407414

408415
The default value for the *Server* parameter is determined by one of the following methods in the order that they are listed:
409416

410-
- By using *Server* value from objects passed through the pipeline.
411-
- By using the server information associated with the Active Directory PowerShell provider drive, when running under that drive.
417+
- By using *Server* value from objects passed through the pipeline.
418+
- By using the server information associated with the Active Directory PowerShell provider drive, when running under that drive.
412419
- By using the domain of the computer running PowerShell.
413420

414421
```yaml
415422
Type: String
416423
Parameter Sets: (All)
417-
Aliases:
424+
Aliases:
418425
419426
Required: False
420427
Position: Named

0 commit comments

Comments
 (0)