Remove-AdfsGlobalWebContent
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.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Locale
Specifies a locale. The cmdlet removes the global web content that corresponds to the locale that you specify.
Parameter properties
Type: | CultureInfo |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
IdentifierName
Position: | 0 |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TargetWebContent
Specifies the AdfsGlobalWebContent object to remove. To obtain an AdfsGlobalWebContent object, use the Get-AdfsGlobalWebContent cmdlet.
Parameter properties
Type: | AdfsGlobalWebContent |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
IdentifierObject
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.