Modifier

Partager via


Remove-AdfsAccessControlPolicy

Removes an AD FS access control policy.

Syntax

Remove-AdfsAccessControlPolicy
      [-TargetName] <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AdfsAccessControlPolicy
      [-TargetIdentifier] <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
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.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetAccessControlPolicy

Specifies the access control policy to remove.

Type:AdfsAccessControlPolicy
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetIdentifier

Specifies a target ID.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetName

Specifies the name of the target.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False