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 |
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기