CmdID / PowerShell / Cmdlets / Get
Get-PendingFederatedDomain
The Get-PendingFederatedDomain cmdlet is used by the Exchange admin center to display a list of pending federated domains for the federation trust for your Exchange organization. Exchange PowerShell reference
From the Exchange PowerShell reference Its page in the reference