Remove-AdfsRelyingPartyWebContent

Remove-AdfsRelyingPartyWebContent

Removes a relying party web content object.

Syntax

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

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

Detailed Description

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.

Parameters

-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.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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"

Get-AdfsRelyingPartyWebContent

Set-AdfsRelyingPartyWebContent