Remove-Adfs
Global
Web
Content
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.
Required Parameters
Specifies the AdfsGlobalWebContent object to remove. To obtain an AdfsGlobalWebContent object, use the Get-AdfsGlobalWebContent cmdlet.
Type: | AdfsGlobalWebContent |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Optional Parameters
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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 |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |