CmdID / PowerShell / Cmdlets / Set
Set-AdfsRegistrationHosts
The Set-AdfsRegistrationHosts cmdlet is deprecated. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-PassThru-UpnSuffixes-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.