Remove-AdfsRelyingPartyWebContent

Remove-AdfsRelyingPartyWebContent

Removes a relying party web content object.

Sintaxis

Parameter Set: IdentifierName
Remove-AdfsRelyingPartyWebContent [[-Locale] <CultureInfo> ] -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

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

Descripción detallada

The Remove-AdfsRelyingPartyWebContent cmdlet removes a relying party web content object. Specify a relying party web content object by using a name and locale, or use the Get-AdfsRelyingPartyWebContent cmdlet. If you do not specify a locale, the cmdlet uses the invariant locale.

Parámetros

-Locale<CultureInfo>

Specifies a locale. The cmdlet removes relying party web content for the locale that you specify. If you do not specify a locale, the cmdlet removes relying party web content for the invariant locale.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-Name<String>

Specifies a name. The cmdlet removes the web content for the relying party that you specify by name.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-TargetWebContent<AdfsRelyingPartyWebContent>

Specifies a relying party web content object. The cmdlet removes the object that you specify. To obtain a relying party web content object, use the Get-AdfsRelyingPartyWebContent 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 web content object for the invariant locale

This command removes the web content object for the relying party named RelyingParty01 for the invariant locale.

PS C:\> Remove-AdfsRelyingPartyWebContent -Name "RelyingParty01"

Example 2: Remove the web content object for a specified locale

This command removes the web content object for the relying party named RelyingParty01 for the specified locale.

PS C:\> Remove-AdfsRelyingPartyWebContent -Locale en-us -Name "RelyingParty01"

Temas relacionados

Get-AdfsRelyingPartyWebContent

Set-AdfsRelyingPartyWebContent