Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Test-ComputerSecureChannel

Test-ComputerSecureChannel - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Test-ComputerSecureChannel

Short description
Tests and repairs the secure channel between the local computer and its domain.

Syntax


Description
The Test-ComputerSecureChannel cmdlet verifies that the secure channel between the local computer and its domain is 
working correctly by checking the status of its trust relationships. If a connection fails, you can use the Repair 
parameter to try to restore it.


Test-ComputerSecureChannel returns "True" if the secure channel is working correctly and "False" if it is not. This 
result lets you use the cmdlet in conditional statements in functions and scripts. To get more detailed test results, 
use the Verbose parameter.


This cmdlet works much like NetDom.exe. Both NetDom and Test-ComputerSecureChannel use the NetLogon service to perform 
the actions.