편집

다음을 통해 공유


Remove-AdfsGlobalWebContent

Removes a global web content object.

Syntax

Remove-AdfsGlobalWebContent
      [[-Locale] <CultureInfo>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AdfsGlobalWebContent
      [-TargetWebContent] <AdfsGlobalWebContent>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AdfsGlobalWebContent cmdlet removes a global web content object that corresponds to a locale. If you do not specify the Locale parameter, the cmdlet removes the global web content object of the invariant locale. Active Directory Federation Services (AD FS) reverts to its default values when you remove all the global web content objects.

Examples

Example 1: Remove the global web content for the invariant locale

PS C:\> Remove-AdfsGlobalWebContent

This command removes the global web content object that corresponds to the invariant locale.

Example 2: Remove the global web content for a locale

PS C:\> Remove-AdfsGlobalWebContent -Locale en-us

This command removes the global web content object that corresponds to en-us locale.

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 global web content that corresponds to the locale that you specify.

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

-TargetWebContent

Specifies the AdfsGlobalWebContent object to remove. To obtain an AdfsGlobalWebContent object, use the Get-AdfsGlobalWebContent cmdlet.

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