Tinus EngOps Wiki

Logo

OpsaC - Operating as PowerShell code

Links

Home

IT-Wiki

PowerShell Blog

PowerShell Index

PowerShell Search

Additional Websites

View my GitHub Profile

View my GitHub Gists

View my Codeberg Page

View my Photo Website

Test-ComputerSecureChannel

published: July 20, 2018 author: Tinu tags: Active Directory categories: PowerShell


Tests and repairs the secure channel

Im Systemlog Event ID 5719 Source NETLOGON und 7043 This cmdlet works much like NetDom.exe. Both NetDom and Test-ComputerSecureChannel use the NetLogon service to perform the actions. Test a channel between the local computer and a domain controller

Test-ComputerSecureChannel

Reset the channel between the local computer and its domain PowerShell fix repair The trust relationship between this workstation and the primary domain failed

$DomJoinCreds = Get-Credential -message 'Enter credentials of a user with join-domain permissions'
Test-ComputerSecureChannel -Repair -Credential $DomJoinCreds

Display detailed information about the test

Test-ComputerSecureChannel -verbose

More information


← Previous Post ◇ [ Top ] ◇ Copyright © 2024 by tinuwalther ◇ [ Blog ] ◇ Next Post →