CmdID / PowerShell / Cmdlets / Test
Test-AdfsFarmJoin
Runs prerequisite checks for adding the server computer to a federation server farm. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-CertificateThumbprintSpecifies the value of the certificate thumbprint of the certificate that the Secure Sockets Layer (SSL) binding of the default website uses in Internet Information Services (IIS).-CredentialSpecifies a PSCredential object based on a user name and password.-FarmBehaviorSpecifies farm behavior.-GroupServiceAccountIdentifierSpecifies the name of the group Managed Service Account that the Active Directory Federation Services (AD FS) service uses as the logon identity for the AD FS service.-PrimaryComputerNameSpecifies the name of the primary federation server in a federation server farm.-PrimaryComputerPortSpecifies the primary computer port.-ServiceAccountCredentialSpecifies a PSCredential object based on a user name and password for the service account in Active Directory® Domain Services under which the AD FS service runs.-SQLConnectionStringSpecifies the Microsoft SQL Server database that will store the AD FS configuration settings.