Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Remove-AdfsGlobalWebContent

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Removes a global web content object.

SYNTAX

IdentifierName (Default)

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

IdentifierObject

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
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: 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
Parameter Sets: IdentifierName
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TargetWebContent

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

Type: AdfsGlobalWebContent
Parameter Sets: IdentifierObject
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Get-AdfsGlobalWebContent

Set-AdfsGlobalWebContent

Remove-AdfsGlobalWebContent

© 2017 Microsoft