Add-AdfsClaimsProviderTrustsGroup
Add-AdfsClaimsProviderTrustsGroup is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Creates a claims provider trust group based on metadata that contains multiple entities.
Description
The Add-AdfsClaimsProviderTrustsGroup cmdlet creates a claims provider trust group based on metadata that contains multiple entities.
Parameters
-AcceptanceTransformRules
    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByPropertyName)
    Accept wildcard characters?  false
-AcceptanceTransformRulesFile <String>
    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false
-AutoUpdateEnabled <Boolean>
    Indicates whether automatic updates are enabled.
    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false
-MetadataFile <String>
    Specifies the file path and name of a metadata file on the local file system.
    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false
-MetadataUrl <Uri>
    Specifies the URL of a metadata file available on the public Internet.
    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false
-MonitoringEnabled <Boolean>
    Indicates whether monitoring is enabled.
    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false
-Confirm <SwitchParameter>
    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 <SwitchParameter>
    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?  falseSyntax
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>]
—————–Example 1—————–
Add a trust group by metadata URL
PS C:>Add-AdfsClaimsProviderTrustsGroup -MetadataUrl https://www.TOSSolution.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.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Add-AdfsClaimsProviderTrustsGroup

You can also read about
- Get-AdfsClaimsProviderTrustsGroup
- Remove-AdfsClaimsProviderTrustsGroup