Remove-AdfsGlobalWebContent
Remove-AdfsGlobalWebContent
Removes a global web content object.
Sintaxis
Parameter Set: IdentifierName
Remove-AdfsGlobalWebContent [[-Locale] <CultureInfo> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: IdentifierObject
Remove-AdfsGlobalWebContent [-TargetWebContent] <AdfsGlobalWebContent> [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
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. Servicios de federación de Active Directory (AD FS) reverts to its default values when you remove all the global web content objects.
Parámetros
-Locale<CultureInfo>
Specifies a locale. The cmdlet removes the global web content that corresponds to the locale that you specify.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-TargetWebContent<AdfsGlobalWebContent>
Specifies the AdfsGlobalWebContent object to remove. To obtain an AdfsGlobalWebContent object, use the Get-AdfsGlobalWebContent cmdlet.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
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