Remove-Adfs
Relying
Party
Web
Content
Syntax
Remove-AdfsRelyingPartyWebContent
[[-Locale] <CultureInfo>]
-TargetRelyingPartyName <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
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.
Required Parameters
Specifies the name of the relying party from which to delete web content.
| Type: | String |
| Aliases: | Name |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the web content to remove from the relying party.
| Type: | AdfsRelyingPartyWebContent |
| Aliases: | TargetWebContent |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True (ByValue) |
| Accept wildcard characters: | False |
Optional Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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.
| Type: | CultureInfo |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |