Final answer:
To set up a trust between a. ADFS and Azure AD from PowerShell, use the Set-AdfsAzureMfaTenant cmdlet; the commands mentioned in the question are incorrect.
Step-by-step explanation:
From PowerShell, to set up a trust between your Active Directory Federation Services (ADFS) server and Azure AD, you would use the Set-AdfsAzureMfaTenant cmdlet along with relevant parameters such as the Tenant ID and the Azure AD Directory ID. The options provided in the question do not accurately represent the cmdlets used in PowerShell for this purpose. It's important to first ensure that you have the necessary admin privileges to execute these commands and that your ADFS and Azure AD environments are properly configured to establish a trust relationship.
To set up a trust between an ADFS (Active Directory Federation Services) server and Azure AD (Azure Active Directory) using PowerShell, you need to use the New-ADFSTrust cmdlet. The correct option is a) New-ADFSTrust -TrustType AzureAD.
Here's an example of how to use this cmdlet:
Open PowerShell as an administrator.
Run the following command: New-ADFSTrust -TrustType AzureAD