Skip to content

Commit 345460b

Browse files
authored
Merge branch 'master' into rpm_add-appxpackage_NewExample
2 parents cd0db84 + e8e68f0 commit 345460b

39 files changed

+2355
-94
lines changed

docset/winserver2012-ps/activedirectory/Add-ADGroupMember.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ By default, this cmdlet does not generate any output.
416416
417417
## NOTES
418418
* This cmdlet does not work with a read-only domain controller.
419-
420-
This cmdlet does not work with an Active Directory Snapshot.
419+
* This cmdlet does not work with an Active Directory snapshot.
420+
* This cmdlet will allow you to add a group as a member of itself which could lead to unstable behavior.
421421
422422
## RELATED LINKS
423423

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

+6
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ For more information about the how to determine the properties for computer obje
5555
### Example 1: Get all of the OUs in a domain
5656
```powershell
5757
PS C:\>Get-ADOrganizationalUnit -Filter 'Name -like "*"' | Format-Table Name, DistinguishedName -A
58+
```
59+
```output
5860
Name DistinguishedName
5961
---- -----------------
6062
Domain Controllers OU=Domain Controllers,DC=FABRIKAM,DC=COM
@@ -81,6 +83,8 @@ This command gets all of the OUs in a domain.
8183
### Example 2: Get an OU by its distinguished name
8284
```powershell
8385
PS C:\> Get-ADOrganizationalUnit -Identity 'OU=AsiaPacific,OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' | Format-Table Name,Country,PostalCode,City,StreetAddress,State -A
86+
```
87+
```output
8488
Name Country PostalCode City StreetAddress State
8589
---- ------- ---------- ---- ------------- -----
8690
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD
@@ -91,6 +95,8 @@ This command gets the OU with the distinguished name OU=AsiaPacific,OU=Sales,OU=
9195
### Example 3: Get child OUs
9296
```powershell
9397
PS C:\> Get-ADOrganizationalUnit -LDAPFilter '(name=*)' -SearchBase 'OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' -SearchScope OneLevel | Format-Table Name,Country,PostalCode,City,StreetAddress,State
98+
```
99+
```output
94100
Name Country PostalCode City StreetAddress State
95101
---- ------- ---------- ---- ------------- -----
96102
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD

docset/winserver2012-ps/netadapter/Get-NetAdapterPowerManagement.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Get-NetAdapterPowerManagement [-AsJob] [-CimSession <CimSession[]>] [-IncludeHid
2525
```
2626

2727
## DESCRIPTION
28-
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter.
29-
You must be an administrator in order to run this cmdlet.
28+
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter. You need to run this cmdlet in an elevated (Run as Administrator) Windows PowerShell session.
3029

3130
## EXAMPLES
3231

docset/winserver2012-ps/storage/Format-Volume.md

+2
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,8 @@ Accept wildcard characters: False
388388
Shows what would happen if the cmdlet runs.
389389
The cmdlet is not run.
390390

391+
**NOTE**: The WhatIf switch does not work with this cmdlet.
392+
391393
```yaml
392394
Type: SwitchParameter
393395
Parameter Sets: (All)

docset/winserver2012r2-ps/activedirectory/Add-ADGroupMember.md

+1
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ By default, this cmdlet does not generate any output.
336336
## NOTES
337337
* This cmdlet does not work with a read-only domain controller.
338338
* This cmdlet does not work with an Active Directory snapshot.
339+
* This cmdlet will allow you to add a group as a member of itself which could lead to unstable behavior.
339340

340341
## RELATED LINKS
341342

docset/winserver2012r2-ps/activedirectory/Get-ADOrganizationalUnit.md

+6
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ For more information about the how to determine the properties for computer obje
5757
### Example 1: Get all of the OUs in a domain
5858
```powershell
5959
PS C:\>Get-ADOrganizationalUnit -Filter 'Name -like "*"' | Format-Table Name, DistinguishedName -A
60+
```
61+
```output
6062
Name DistinguishedName
6163
---- -----------------
6264
Domain Controllers OU=Domain Controllers,DC=FABRIKAM,DC=COM
@@ -83,6 +85,8 @@ This command gets all of the OUs in a domain.
8385
### Example 2: Get an OU by its distinguished name
8486
```powershell
8587
PS C:\> Get-ADOrganizationalUnit -Identity 'OU=AsiaPacific,OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' | Format-Table Name,Country,PostalCode,City,StreetAddress,State -A
88+
```
89+
```output
8690
Name Country PostalCode City StreetAddress State
8791
---- ------- ---------- ---- ------------- -----
8892
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD
@@ -93,6 +97,8 @@ This command gets the OU with the distinguished name OU=AsiaPacific,OU=Sales,OU=
9397
### Example 3: Get child OUs
9498
```powershell
9599
PS C:\> Get-ADOrganizationalUnit -LDAPFilter '(name=*)' -SearchBase 'OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' -SearchScope OneLevel | Format-Table Name,Country,PostalCode,City,StreetAddress,State
100+
```
101+
```output
96102
Name Country PostalCode City StreetAddress State
97103
---- ------- ---------- ---- ------------- -----
98104
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD

docset/winserver2012r2-ps/adfs/Remove-AdfsFarmNode.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: Remove-AdfsFarmNode
1111

1212
## SYNOPSIS
1313
The Remove-AdfsFarmNode cmdlet is deprecated.
14-
Instead, use the Uninstall-WindowsFeature cmdlet.
14+
Instead, use the **Uninstall-WindowsFeature** cmdlet.
1515

1616
## SYNTAX
1717

@@ -27,8 +27,8 @@ Remove-AdfsFarmNode -GroupServiceAccountIdentifier <String> [-Credential <PSCred
2727

2828
## DESCRIPTION
2929
The **Remove-AdfsFarmNode** cmdlet is deprecated in this release.
30-
Instead, use the Uninstall-WindowsFeaturehttp://go.microsoft.com/fwlink/?LinkID=287572 cmdlet.
31-
For more information on the **Uninstall-WindowsFeature** cmdlet, type `Get-Help Uninstall-WindowsFeature`.
30+
Instead, use the [Uninstall-WindowsFeature](https://go.microsoft.com/fwlink/?LinkID=287572) cmdlet.
31+
For more information on the **Uninstall-WindowsFeature** cmdlet, type `Get-Help Uninstall-WindowsFeature`. Note that the **Uninstall-WindowsFeature** cmdlet removes only the server role but doesn't remove the node from the ADFS farm. For proper cleanup, use the **Set-AdfsFarmInformation** cmdlet with the `-RemoveNode` parameter.
3232

3333
## EXAMPLES
3434

docset/winserver2012r2-ps/netadapter/Get-NetAdapterPowerManagement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Get-NetAdapterPowerManagement -InterfaceDescription <String[]> [-IncludeHidden]
2727
```
2828

2929
## DESCRIPTION
30-
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter.
30+
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter. You need to run this cmdlet in an elevated (Run as Administrator) Windows PowerShell session.
3131

3232
## EXAMPLES
3333

docset/winserver2012r2-ps/storage/Format-Volume.md

+2
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,8 @@ Accept wildcard characters: False
408408
Shows what would happen if the cmdlet runs.
409409
The cmdlet is not run.
410410

411+
**NOTE**: The WhatIf switch does not work with this cmdlet.
412+
411413
```yaml
412414
Type: SwitchParameter
413415
Parameter Sets: (All)

docset/winserver2016-ps/activedirectory/Add-ADGroupMember.md

+1
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ By default, this cmdlet does not generate any output.
370370
## NOTES
371371
* This cmdlet does not work with a read-only domain controller.
372372
* This cmdlet does not work with an Active Directory snapshot.
373+
* This cmdlet will allow you to add a group as a member of itself which could lead to unstable behavior.
373374

374375
## RELATED LINKS
375376

docset/winserver2016-ps/activedirectory/Get-ADOrganizationalUnit.md

+6
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ For more information about the how to determine the properties for computer obje
5858
### Example 1: Get all of the OUs in a domain
5959
```powershell
6060
PS C:\> Get-ADOrganizationalUnit -Filter 'Name -like "*"' | Format-Table Name, DistinguishedName -A
61+
```
62+
```output
6163
Name DistinguishedName
6264
---- -----------------
6365
Domain Controllers OU=Domain Controllers,DC=FABRIKAM,DC=COM
@@ -84,6 +86,8 @@ This command gets all of the OUs in a domain.
8486
### Example 2: Get an OU by its distinguished name
8587
```powershell
8688
PS C:\> Get-ADOrganizationalUnit -Identity 'OU=AsiaPacific,OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' | Format-Table Name,Country,PostalCode,City,StreetAddress,State -A
89+
```
90+
```output
8791
Name Country PostalCode City StreetAddress State
8892
---- ------- ---------- ---- ------------- -----
8993
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD
@@ -94,6 +98,8 @@ This command gets the OU with the distinguished name OU=AsiaPacific,OU=Sales,OU=
9498
### Example 3: Get child OUs
9599
```powershell
96100
PS C:\> Get-ADOrganizationalUnit -LDAPFilter '(name=*)' -SearchBase 'OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' -SearchScope OneLevel | Format-Table Name,Country,PostalCode,City,StreetAddress,State
101+
```
102+
```output
97103
Name Country PostalCode City StreetAddress State
98104
---- ------- ---------- ---- ------------- -----
99105
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD

docset/winserver2016-ps/adfs/Remove-AdfsFarmNode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Remove-AdfsFarmNode -GroupServiceAccountIdentifier <String> [-Credential <PSCred
2929
## DESCRIPTION
3030
The **Remove-AdfsFarmNode** cmdlet is deprecated in this release.
3131
Instead, use the [Uninstall-WindowsFeature](https://go.microsoft.com/fwlink/?LinkID=287572) cmdlet.
32-
For more information on the **Uninstall-WindowsFeature** cmdlet, type `Get-Help Uninstall-WindowsFeature`.
32+
For more information on the **Uninstall-WindowsFeature** cmdlet, type `Get-Help Uninstall-WindowsFeature`. Note that the **Uninstall-WindowsFeature** cmdlet removes only the server role but doesn't remove the node from the ADFS farm. For proper cleanup, use the **Set-AdfsFarmInformation** cmdlet with the `-RemoveNode` parameter.
3333

3434
## EXAMPLES
3535

@@ -87,5 +87,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8787
8888
## RELATED LINKS
8989
90-
[Uninstall-WindowsFeature](../Microsoft.Windows.ServerManager.Migration/Uninstall-WindowsFeature.md)
90+
[Uninstall-WindowsFeature](/powershell/module/microsoft.windows.servermanager.migration/uninstall-windowsfeature)
9191

docset/winserver2016-ps/adfs/Set-AdfsGlobalAuthenticationPolicy.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ Accept wildcard characters: False
6767
```
6868
6969
### -AllowDeviceAuthAsPrimaryForDomainJoinedDevices
70-
Specifying this parameter configures an external authentication provider, for second stage authentication, in the global policy.
71-
This is the first step in creating an AD FS policy that invokes an external authentication provider for multifactor authentication.
70+
Allows the use of device authentication as the primary type for domain-joined devices.
7271
7372
```yaml
7473
Type: Boolean
@@ -83,8 +82,7 @@ Accept wildcard characters: False
8382
```
8483
8584
### -ClientAuthenticationMethods
86-
Specifying this parameter configures an external authentication provider, for second stage authentication, in the global policy.
87-
This is the first step in creating an AD FS policy that invokes an external authentication provider for multifactor authentication.
85+
Specifies the client authentication method.
8886
8987
```yaml
9088
Type: ClientAuthenticationMethod
@@ -115,8 +113,7 @@ Accept wildcard characters: False
115113
```
116114
117115
### -DeviceAuthenticationMethod
118-
Specifying this parameter configures an external authentication provider, for second stage authentication, in the global policy.
119-
This is the first step in creating an AD FS policy that invokes an external authentication provider for multifactor authentication.
116+
Specifies the device authentication method.
120117
121118
```yaml
122119
Type: DeviceAuthenticationMethod

docset/winserver2016-ps/netadapter/Get-NetAdapterPowerManagement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Get-NetAdapterPowerManagement -InterfaceDescription <String[]> [-IncludeHidden]
2828
```
2929

3030
## DESCRIPTION
31-
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a power management capable network adapter.
31+
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter. You need to run this cmdlet in an elevated (Run as Administrator) Windows PowerShell session.
3232

3333
## EXAMPLES
3434

docset/winserver2016-ps/storage/Format-Volume.md

+2
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ Accept wildcard characters: False
448448
Shows what would happen if the cmdlet runs.
449449
The cmdlet is not run.
450450

451+
**NOTE**: The WhatIf switch does not work with this cmdlet.
452+
451453
```yaml
452454
Type: SwitchParameter
453455
Parameter Sets: (All)

docset/winserver2019-ps/activedirectory/Add-ADGroupMember.md

+1
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ By default, this cmdlet does not generate any output.
370370
## NOTES
371371
* This cmdlet does not work with a read-only domain controller.
372372
* This cmdlet does not work with an Active Directory snapshot.
373+
* This cmdlet will allow you to add a group as a member of itself which could lead to unstable behavior.
373374

374375
## RELATED LINKS
375376

docset/winserver2019-ps/activedirectory/Get-ADOrganizationalUnit.md

+6
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ For more information about the how to determine the properties for computer obje
5858
### Example 1: Get all of the OUs in a domain
5959
```powershell
6060
PS C:\> Get-ADOrganizationalUnit -Filter 'Name -like "*"' | Format-Table Name, DistinguishedName -A
61+
```
62+
```output
6163
Name DistinguishedName
6264
---- -----------------
6365
Domain Controllers OU=Domain Controllers,DC=FABRIKAM,DC=COM
@@ -84,6 +86,8 @@ This command gets all of the OUs in a domain.
8486
### Example 2: Get an OU by its distinguished name
8587
```powershell
8688
PS C:\> Get-ADOrganizationalUnit -Identity 'OU=AsiaPacific,OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' | Format-Table Name,Country,PostalCode,City,StreetAddress,State -A
89+
```
90+
```output
8791
Name Country PostalCode City StreetAddress State
8892
---- ------- ---------- ---- ------------- -----
8993
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD
@@ -94,6 +98,8 @@ This command gets the OU with the distinguished name OU=AsiaPacific,OU=Sales,OU=
9498
### Example 3: Get child OUs
9599
```powershell
96100
PS C:\> Get-ADOrganizationalUnit -LDAPFilter '(name=*)' -SearchBase 'OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM' -SearchScope OneLevel | Format-Table Name,Country,PostalCode,City,StreetAddress,State
101+
```
102+
```output
97103
Name Country PostalCode City StreetAddress State
98104
---- ------- ---------- ---- ------------- -----
99105
AsiaPacific AU 4171 Balmoral 45 Martens Place QLD

docset/winserver2019-ps/adfs/Remove-AdfsFarmNode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Remove-AdfsFarmNode -GroupServiceAccountIdentifier <String> [-Credential <PSCred
2929
## DESCRIPTION
3030
The **Remove-AdfsFarmNode** cmdlet is deprecated in this release.
3131
Instead, use the [Uninstall-WindowsFeature](https://go.microsoft.com/fwlink/?LinkID=287572) cmdlet.
32-
For more information on the **Uninstall-WindowsFeature** cmdlet, type `Get-Help Uninstall-WindowsFeature`.
32+
For more information on the **Uninstall-WindowsFeature** cmdlet, type `Get-Help Uninstall-WindowsFeature`. Note that the **Uninstall-WindowsFeature** cmdlet removes only the server role but doesn't remove the node from the ADFS farm. For proper cleanup, use the **Set-AdfsFarmInformation** cmdlet with the `-RemoveNode` parameter.
3333

3434
## EXAMPLES
3535

@@ -87,5 +87,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8787
8888
## RELATED LINKS
8989
90-
[Uninstall-WindowsFeature](../Microsoft.Windows.ServerManager.Migration/Uninstall-WindowsFeature.md)
90+
[Uninstall-WindowsFeature](/powershell/module/microsoft.windows.servermanager.migration/uninstall-windowsfeature)
9191

docset/winserver2019-ps/adfs/Set-AdfsGlobalAuthenticationPolicy.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ Accept wildcard characters: False
6767
```
6868
6969
### -AllowDeviceAuthAsPrimaryForDomainJoinedDevices
70-
Specifying this parameter configures an external authentication provider, for second stage authentication, in the global policy.
71-
This is the first step in creating an AD FS policy that invokes an external authentication provider for multifactor authentication.
70+
Allows the use of device authentication as the primary type for domain-joined devices.
71+
7272
7373
```yaml
7474
Type: Boolean
@@ -83,8 +83,7 @@ Accept wildcard characters: False
8383
```
8484
8585
### -ClientAuthenticationMethods
86-
Specifying this parameter configures an external authentication provider, for second stage authentication, in the global policy.
87-
This is the first step in creating an AD FS policy that invokes an external authentication provider for multifactor authentication.
86+
Specifies the client authentication method.
8887
8988
```yaml
9089
Type: ClientAuthenticationMethod
@@ -115,8 +114,7 @@ Accept wildcard characters: False
115114
```
116115
117116
### -DeviceAuthenticationMethod
118-
Specifying this parameter configures an external authentication provider, for second stage authentication, in the global policy.
119-
This is the first step in creating an AD FS policy that invokes an external authentication provider for multifactor authentication.
117+
Specifies the device authentication method.
120118
121119
```yaml
122120
Type: DeviceAuthenticationMethod

0 commit comments

Comments
 (0)