Skip to content

Commit 2277988

Browse files
Update Test-ComputerSecureChannel.md - add note on use on DCs (#11954)
* Update Test-ComputerSecureChannel.md needs a hint that this cmdlet is not made for DCs. * Update Test-ComputerSecureChannel documentation for clarity * Fix contraction in Test-ComputerSecureChannel documentation --------- Co-authored-by: Sean Wheeler <[email protected]>
1 parent d48addb commit 2277988

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

reference/5.1/Microsoft.PowerShell.Management/Test-ComputerSecureChannel.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ more detailed test results, use the **Verbose** parameter.
3434
This cmdlet works much like `NetDom.exe`. Both NetDom and `Test-ComputerSecureChannel` use the
3535
**NetLogon** service to perform the actions.
3636

37+
> [!NOTE]
38+
> This cmdlet only works on Domain Member computers. When you run it on Domain Controllers, it
39+
> returns false positive errors. To verify and reset the secure channels for Domain Controllers,
40+
> use `netdom.exe` or `nltest.exe`.
41+
3742
## EXAMPLES
3843

3944
### Example 1: Test a channel between the local computer and its domain
@@ -74,7 +79,8 @@ VERBOSE: "The secure channel between 'SERVER01' and 'net.fabrikam.com' is alive
7479
```
7580

7681
This command uses the **Verbose** common parameter to request detailed messages about the operation.
77-
For more information about **Verbose**, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
82+
For more information about **Verbose**, see
83+
[about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
7884

7985
### Example 5: Test a connection before you run a script
8086

@@ -170,7 +176,7 @@ Accept wildcard characters: False
170176
171177
### -WhatIf
172178
173-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
179+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
174180
175181
```yaml
176182
Type: System.Management.Automation.SwitchParameter
@@ -188,7 +194,8 @@ Accept wildcard characters: False
188194
189195
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
190196
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
191-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
197+
-WarningAction, and -WarningVariable. For more information, see
198+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
192199
193200
## INPUTS
194201
@@ -218,3 +225,7 @@ This cmdlet returns `$true` if the connection is working correctly and `$false`
218225
[Restart-Computer](Restart-Computer.md)
219226

220227
[Stop-Computer](Stop-Computer.md)
228+
229+
[Use Netdom.exe to reset machine account passwords of a Windows Server domain controller](/troubleshoot/windows-server/windows-security/use-netdom-reset-domain-controller-password)
230+
231+
[Nltest.exe](/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731935(v=ws.11))

0 commit comments

Comments
 (0)