Revoke-AdfsProxyTrust
Revoke-AdfsProxyTrust is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Revokes trust for all federation server proxies configured for the Federation Service.
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.
Parameters
-Confirm
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? false
Syntax
Revoke-AdfsProxyTrust [-WhatIf] [-Confirm] [<CommonParameters>]
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.
———————–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.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Revoke-AdfsProxyTrust