Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Set-AdfsAccessControlPolicy

Last Updated: 3/8/2017

SYNOPSIS

Modifies an AD FS access control policy.

SYNTAX

IdentifierName

Set-AdfsAccessControlPolicy [-Name <String>] [-Identifier <String>] [-Description <String>]
 [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-PassThru] [-TargetName] <String> [-WhatIf]
 [-Confirm] [<CommonParameters>]

Identifier

Set-AdfsAccessControlPolicy [-Name <String>] [-Identifier <String>] [-Description <String>]
 [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-PassThru] [-TargetIdentifier] <String>
 [-WhatIf] [-Confirm] [<CommonParameters>]

IdentifierObject

Set-AdfsAccessControlPolicy [-Name <String>] [-Identifier <String>] [-Description <String>]
 [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-PassThru]
 [-TargetAccessControlPolicy] <AdfsAccessControlPolicy> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Set-AdfsAccessControlPolicy cmdlet modifies an Active Directory Federation Services (AD FS) access control policy.

EXAMPLES

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Description

Specifies a description for the policy.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identifier

Specifies an ID for the policy.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies a name for the policy.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PolicyMetadata

Specifies metadata for the policy.

Type: PolicyMetadata
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PolicyMetadataFile

Specifies the metadata file for the policy.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TargetAccessControlPolicy

Type: AdfsAccessControlPolicy
Parameter Sets: IdentifierObject
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TargetIdentifier

Specifies the ID of the target.

Type: String
Parameter Sets: Identifier
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TargetName

Specifies the target name.

Type: String
Parameter Sets: IdentifierName
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

Get-AdfsAccessControlPolicy

New-AdfsAccessControlPolicy

Remove-AdfsAccessControlPolicy

© 2017 Microsoft