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.
Useful Articles
PowerShell HPE ILO4 Rest API automation examples
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