Test-ComputerSecureChannel PowerShell cmdlet
The PowerShell cmdlet Test-ComputerSecureChannel will return a true or false reply depending on the status of a client with the domain. This issue can occur if a snapshot is created for a domain-joined client and then restored to that point in time, but the machine password has been modified on the domain.
The command has a –Repair switch that will attempt to fix a “lost” connection to a domain.