Fix for "The secure channel between the local computer and the domain is broken."
The secure channel between the local computer and the domain is broken.
PS C:\> Test-ComputerSecureChannel -verbose
VERBOSE: Performing the operation "Test-ComputerSecureChannel" on target "MyLocalPCName".
False
VERBOSE: The secure channel between the local computer and the domain MyDomain is broken.
PS C:\> Test-ComputerSecureChannel -verbose -repair -credential MyDomain\MyDomainAdmin
VERBOSE: Performing the operation "Test-ComputerSecureChannel" on target "MyLocalPCName".
True
VERBOSE: The secure channel between the local computer and the domain MyDomain was successfully repaired.
#powershell #ps #domain #ad #script
Comments
Post a Comment