Remove-AdfsRelyingPartyWebContent

Remove-AdfsRelyingPartyWebContent is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Removes a relying party web content object.

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

    Required?                    false
    Position?                    1
    Default value                none
    Accept pipeline input?       True (ByPropertyName)
    Accept wildcard characters?  false

-TargetRelyingPartyName <String>
    Specifies the name of the relying party from which to delete web content.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByPropertyName)
    Accept wildcard characters?  false

-TargetRelyingPartyWebContent <AdfsRelyingPartyWebContent>
    Specifies the web content to remove from the relying party.

    Required?                    true
    Position?                    1
    Default value                none
    Accept pipeline input?       true(ByValue)
    Accept wildcard characters?  false

-Confirm <SwitchParameter>
    Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

-WhatIf <SwitchParameter>
    Shows what would happen if the cmdlet runs. The cmdlet is not run.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

Syntax

Remove-AdfsRelyingPartyWebContent [[-Locale] <CultureInfo>] -Name <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-AdfsRelyingPartyWebContent [-TargetWebContent] <AdfsRelyingPartyWebContent> [-WhatIf] [-Confirm] [<CommonParameters>]

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

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Remove-AdfsRelyingPartyWebContent

Get-Command Remove-AdfsRelyingPartyWebContent powershell script command cmdlet aDFS

You can also read about

  • Get-AdfsRelyingPartyWebContent
  • Set-AdfsRelyingPartyWebContent

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *