CmdID / PowerShell / Cmdlets / Get
Get-UserPrincipalNamesSuffix
Use the Get-UserPrincipalNamesSuffix cmdlet to view the user principal name (UPN) suffixes in the Active Directory forest. Exchange PowerShell reference
From the Exchange PowerShell reference 1 parameter Its page in the reference
Parameters
-OrganizationalUnitThe OrganizationalUnit parameter filters the results based on the object's location in Active Directory.