Enable-AdfsRelyingPartyTrust
Enable-AdfsRelyingPartyTrust is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Enables a relying party trust of the Federation Service.
Description
The Enable-AdfsRelyingPartyTrust cmdlet enables a relying party trust of the Federation Service.
Parameters
-Confirm <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-PassThru <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-TargetIdentifier <string>
Required? true
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-TargetName <string>
Required? true
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-TargetRelyingParty <RelyingPartyTrust>
Required? true
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-WhatIf <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
Syntax
Enable-AdfsRelyingPartyTrust -TargetIdentifier <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Enable- AdfsRelyingPartyTrust -TargetRelyingParty <RelyingPartyTrust> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Enable- AdfsRelyingPartyTrust -TargetName <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Enable-AdfsRelyingPartyTrust
——————Example 1——————
Enable a relying party trust
PS C:\> Enable-ADFSRelyingPartyTrust -TargetName “TOSSolution01”
This command enables the relying party trust named TOSSolution01.
You can also read about
- Add-AdfsRelyingPartyTrust
- Disable-AdfsRelyingPartyTrust
- Get-AdfsRelyingPartyTrust
- Remove-AdfsRelyingPartyTrust
- Set-AdfsRelyingPartyTrust
- Update-AdfsRelyingPartyTrust