Editar

Partilhar via


Set-AdfsAuthenticationProviderWebContent

Modifies a display name and description.

Syntax

Set-AdfsAuthenticationProviderWebContent
   [-DisplayName <String>]
   [-Description <String>]
   [-UserNotProvisionedErrorMessage <String>]
   [-PassThru]
   [[-Locale] <CultureInfo>]
   -Name <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsAuthenticationProviderWebContent
   [-DisplayName <String>]
   [-Description <String>]
   [-UserNotProvisionedErrorMessage <String>]
   [-PassThru]
   [-TargetWebContent] <AdfsAuthProviderWebContent>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AdfsAuthenticationProviderWebContent cmdlet modifies a display name and description. Use this cmdlet to customize the name of the authentication provider to a user friendly and intuitive name. You can choose to specify a locale, or use an empty string for the Locale parameter to specify an invariant locale.

Examples

Example 1: Modify the authentication provider web content

PS C:\> Set-AdfsAuthenticationProviderWebContent -Name MultiFactorAuthentication -DisplayName "User Friendly Name for Multifactor Authentication" -Description "Description of your choice"

This command modifies the display name and description for the authentication provider that the user sees in the Active Directory Federation Services (AD FS) logon pages.

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

-Description

Specifies a description. The cmdlet modifies the provider web content with the description that you specify.

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

-DisplayName

Specifies a display name. The cmdlet modifies the provider web content with the display name that you specify.

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

-Locale

Specifies a locale. The cmdlet modifies 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 the name of the authentication provider whose web content is being modified. To find a list of available authentication providers, run the command Get-AdfsAuthenticationProvider. Each returned provider has a Name property, and that value can be used with this parameter.

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

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
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

-UserNotProvisionedErrorMessage

Specifies an error message for a user not provisioned result.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
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