https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adtrust?view=windowsserver2025-ps
Get-ADTrust (ActiveDirectory) | Microsoft Learn
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
getactivedirectorymicrosoftlearn