Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Resovled issue with PowerShell - Trust relationship Rejoin computers in domain without restart

While working with The trust relationship between this workstation and the primary domain failed issue on Windows Servers, I used PowerShell cmdlet Test-ComputerSecureChannel and cmd command netdom to resolve the broken AD computer account trust relationship without reboot. Apart from these commands there is one more PowerShell cmdlet is available and can be used to fix broken trust computer account without restart.

Reset-ComputerMachinePassword -Server ActiveControllerDomain -Credential (Get-Credential) -Confirm:$false

This is must know another alternate command to fix problem.

Microsoft Powershell windows computer machine password reset Reset-ComputerMachinePassword -server domain controller active directory -credential get-credential -confirm broke trust relationship.png

Useful Articles
PowerShell HPE ILO4 Rest API automation examples dell hpe ilo dell idrac powershell restful api restapi automation consume.png
Powershell Configure ILO5 using Restful API
Configure Dell iDrac9 Rest API with Powershell
Powershell Dell iDrac redfish Rest API basic authentication

Powershell Convert range of numbers into another list of numbers maintaining ratio
PowerShell slice array into groups of smaller arrays
Powershell web scrapping extract table from html
Powershell adding leading zeros to string or int
PowerShell convert string to base64 value
PowerShell Encode or Decode an WebURL
Create an interactive HTML report with PowerShell data

Go Back

Comment

Blog Search

Page Views

6068977

Follow me on Blogarama