Remove-AdfsTrustedFederationPartner is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Removes a trusted federation partner in AD FS.
Description
The Remove-AdfsTrustedFederationPartner cmdlet removes a federation partner that is trusted by this instance of Active Directory Federation Services (AD FS).
Parameters
-PassThru
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-TargetFederationPartner
Specifies a federation partner to remove.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-TargetFederationPartnerHostName
Specifies the URI of a federation partner to remove.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-TargetName
Specifies the name of a federation partner to remove.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-Confirm
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Remove- AdfsTrustedFederationPartner [-TargetName] <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove- AdfsTrustedFederationPartner [-TargetFederationPartnerHostName] <Uri> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AdfsTrustedFederationPartner [-TargetFederationPartner] <AdfsTrustedFederationPartner> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Remove-AdfsTrustedFederationPartner
You can also read about
- Add-AdfsTrustedFederationPartner
- Get-AdfsTrustedFederationPartner
- Set-AdfsTrustedFederationPartner