Remove-AdfsGlobalWebContent

Remove-AdfsGlobalWebContent

Removes a global web content object.

Syntax

Parameter Set: IdentifierName
Remove-AdfsGlobalWebContent [[-Locale] <CultureInfo> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: IdentifierObject
Remove-AdfsGlobalWebContent [-TargetWebContent] <AdfsGlobalWebContent> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed 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.

Parameters

-Locale<CultureInfo>

Specifies a locale. The cmdlet removes the global web content that corresponds to the locale that you specify.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-TargetWebContent<AdfsGlobalWebContent>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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

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

PS C:\> Remove-AdfsGlobalWebContent

Example 2: Remove the global web content for a locale

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

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

Get-AdfsGlobalWebContent

Set-AdfsGlobalWebContent

Remove-AdfsGlobalWebContent