編集

次の方法で共有


Remove-AdfsWebApplicationProxyRelyingPartyTrust

Removes the relying party trust object for the Web Application Proxy.

Syntax

Default (Default)

Remove-AdfsWebApplicationProxyRelyingPartyTrust
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Remove-AdfsWebApplicationProxyRelyingPartyTrust cmdlet removes the relying party trust object for Web Application Proxy. If you remove the relying party trust, Web Application Proxy blocks all external access through the proxy. Use this cmdlet if you plan to recreate the trust later. To temporarily block access through the proxy, you can, instead, disable the relying party trust by using the Disable-AdfsWebApplicationProxyRelyingPartyTrust cmdlet.

The Web Application Proxy relying party trust is useful to manage global network access from outside the corporate network. By setting authentication and authorization policies, an administrator can restrict access to internal web applications and services that are published through the Web Application Proxy.

Examples

Example 1: Remove the relying party trust

PS C:\> Remove-AdfsWebApplicationProxyRelyingPartyTrust

This command removes the relying party trust object for the Web Application Proxy, which denies all access to web applications through the proxy.

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.