Edit

Share via


Add-AdfsClaimsProviderTrustsGroup

Creates a claims provider trust group based on metadata that contains multiple entities.

Syntax

MetadataFile

Add-AdfsClaimsProviderTrustsGroup
    -MetadataFile <String>
    [-Force]
    [-PassThru]
    [-AcceptanceTransformRules <String>]
    [-AcceptanceTransformRulesFile <String>]
    [-MonitoringEnabled <Boolean>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

MetadataUrl

Add-AdfsClaimsProviderTrustsGroup
    -MetadataUrl <Uri>
    [-AutoUpdateEnabled <Boolean>]
    [-Force]
    [-PassThru]
    [-AcceptanceTransformRules <String>]
    [-AcceptanceTransformRulesFile <String>]
    [-MonitoringEnabled <Boolean>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Add-AdfsClaimsProviderTrustsGroup cmdlet creates a claims provider trust group based on metadata that contains multiple entities.

Examples

Example 1: Add a trust group by metadata URL

PS C:\> Add-AdfsClaimsProviderTrustsGroup -MetadataUrl https://www.contosoconsortium.com/metadata/metadata.xml

This command specifies a metadata URL to add a trust group

Example 2: Add a trust group by metadata file

PS C:\> Add-AdfsClaimsProviderTrustsGroup -MetadataFile "C:\metadata.xml"

This command specifies a metadata file to add a trust group.

Parameters

-AcceptanceTransformRules

The Add-AdfsClaimsProviderTrustsGroup cmdlet creates a claims provider trust group based on metadata that contains multiple entities.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-AcceptanceTransformRulesFile

The Add-AdfsClaimsProviderTrustsGroup cmdlet creates a claims provider trust group based on metadata that contains multiple entities.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AutoUpdateEnabled

Indicates whether automatic updates are enabled.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

MetadataUrl
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MetadataFile

Specifies the file path and name of a metadata file on the local file system.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

MetadataFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MetadataUrl

Specifies the URL of a metadata file available on the public Internet.

Parameter properties

Type:Uri
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

MetadataUrl
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MonitoringEnabled

Indicates whether monitoring is enabled.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PassThru

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.