Edit

Share via


Remove-AdfsAccessControlPolicy

Removes an AD FS access control policy.

Syntax

IdentifierName

Remove-AdfsAccessControlPolicy
    [-TargetName] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Identifier

Remove-AdfsAccessControlPolicy
    [-TargetIdentifier] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

IdentifierObject

Remove-AdfsAccessControlPolicy
    [-TargetAccessControlPolicy] <AdfsAccessControlPolicy>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

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

Parameters

-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

-TargetAccessControlPolicy

Specifies the access control policy to remove.

Parameter properties

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

Parameter sets

IdentifierObject
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetIdentifier

Specifies a target ID.

Parameter properties

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

Parameter sets

Identifier
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetName

Specifies the name of the target.

Parameter properties

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

Parameter sets

IdentifierName
Position:0
Mandatory:True
Value from pipeline:True
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.