Add-Adfs
Claims
Provider
Trusts
Group
Syntax
Add-AdfsClaimsProviderTrustsGroup
-MetadataFile <String>
[-Force]
[-PassThru]
[-AcceptanceTransformRules <String>]
[-AcceptanceTransformRulesFile <String>]
[-MonitoringEnabled <Boolean>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
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.
Required Parameters
Specifies the file path and name of a metadata file on the local file system.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the URL of a metadata file available on the public Internet.
| Type: | Uri |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Optional Parameters
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Indicates whether automatic updates are enabled.
| Type: | Boolean |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
Forces the command to run without asking for user confirmation.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Indicates whether monitoring is enabled.
| Type: | Boolean |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
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 |