編集

次の方法で共有


Revoke-AdfsProxyTrust

Revokes trust for all federation server proxies configured for the Federation Service.

Syntax

Default (Default)

Revoke-AdfsProxyTrust
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Revoke-AdfsProxyTrust cmdlet revokes trust for all federation server proxies by resetting the trust ID for the Federation Service. Use this cmdlet for lockdown purposes in the event of an attack or confirmed possible threat to your deployment. The cmdlet effectively revokes trust to all configured proxies immediately.

Examples

Example 1: Revoke trust

PS C:\> Revoke-AdfsProxyTrust

This command revokes all trust between the current federation server and any of its configured federation server proxies.

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

-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.

Inputs

None

Outputs

None

Notes

  • Use this cmdlet only in the event of a security breach in a live deployment. We recommend that, if you want to practice using this cmdlet, you use a test lab environment.