編輯

共用方式為


Remove-AdfsAuthenticationProviderWebContent

Removes web content customization of the authentication provider in the user sign-in web pages from AD FS.

Syntax

Remove-AdfsAuthenticationProviderWebContent
      [[-Locale] <CultureInfo>]
      -Name <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AdfsAuthenticationProviderWebContent
      [-TargetWebContent] <AdfsAuthProviderWebContent>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AdfsAuthenticationProviderWebContent cmdlet removes web content customization of the authentication provider in the user sign-in web pages from the Active Directory Federation Services (AD FS) service.

Examples

Example 1: Remove authentication provider web content

PS C:\> Remove-AdfsAuthenticationProviderWebContent -Name "ContosoAuthenticationProvider"

This command removes the provider web content for the authentication provider named ContosoAuthenticationProvider.

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

-Locale

Specifies a locale. The cmdlet removes the provider web content associated with the locale that you specify.

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

-Name

Specifies a name. The cmdlet gets the provider web content associated with the name that you specify.

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

-TargetWebContent

Specifies an AdfsAuthenticationProviderWebContent object that is used by the pipeline.

Type:AdfsAuthProviderWebContent
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