Remove-AdfsRelyingPartyWebContent
Removes a relying party web content object.
Syntax
IdentifierName (Default)
Remove-AdfsRelyingPartyWebContent
[[-Locale] <CultureInfo>]
-TargetRelyingPartyName <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
IdentifierObject
Remove-AdfsRelyingPartyWebContent
[-TargetRelyingPartyWebContent] <AdfsRelyingPartyWebContent>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
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.
Examples
Example 1: Remove the web content object for the invariant locale
PS C:\> Remove-AdfsRelyingPartyWebContent -TargetRelyingPartyName "RelyingParty01"
This command removes the web content object for the relying party named RelyingParty01 for the invariant locale.
Example 2: Remove the web content object for a specified locale
PS C:\> Remove-AdfsRelyingPartyWebContent -Locale en-us -TargetRelyingPartyName "RelyingParty01"
This command removes the web content object for the relying party named RelyingParty01 for the specified locale.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Locale
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.
Parameter properties
Type: | CultureInfo |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
IdentifierName
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-TargetRelyingPartyName
Specifies the name of the relying party from which to delete web content.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Name |
Parameter sets
IdentifierName
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-TargetRelyingPartyWebContent
Specifies the web content to remove from the relying party.
Parameter properties
Type: | AdfsRelyingPartyWebContent |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | TargetWebContent |
Parameter sets
IdentifierObject
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.