Update-Adfs Claims Provider Trust

Updates the claims provider trust from federation metadata.

Syntax

Update-AdfsClaimsProviderTrust
      [-MetadataFile <String>]
      -TargetClaimsProviderTrust <ClaimsProviderTrust>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AdfsClaimsProviderTrust
      [-MetadataFile <String>]
      -TargetCertificate <X509Certificate2>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AdfsClaimsProviderTrust
      [-MetadataFile <String>]
      -TargetIdentifier <String>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AdfsClaimsProviderTrust
      [-MetadataFile <String>]
      -TargetName <String>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Update-AdfsClaimsProviderTrust cmdlet updates the claims provider trust from federation metadata.

Required Parameters

-TargetCertificate

Specifies the token-signing certificate of the claims provider trust to update.

Type: X509Certificate2
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-TargetClaimsProviderTrust

Specifies the claims provider trust to update. This value is typically taken from the pipeline.

Type: ClaimsProviderTrust
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-TargetIdentifier

Specifies the identifier of the claims provider trust to update.

Type: String
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-TargetName

Specifies the name of the claims provider trust to update.

Type: String
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-MetadataFile

Specifies a UNC file path to a file that contains the federation metadata information for the claims provider.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Aliases: wi
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Outputs

System.Object