Site icon TOSS

Remove-AdfsGlobalWebContent

powershell

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

Synopsis

Removes a global web content object.

Description

The Remove-AdfsGlobalWebContent cmdlet removes a global web content object that corresponds to a locale. If you do not specify the Locale parameter, the cmdlet removes the global web content object of the invariant locale. Active Directory Federation Services (AD FS) reverts to its default values when you remove all the global web content objects.

Parameters

 -Locale
Specifies a locale. The cmdlet removes the global web content that corresponds to the locale that you specify.

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

-TargetWebContent <AdfsGlobalWebContent>
    Specifies the AdfsGlobalWebContent object to remove. To obtain an AdfsGlobalWebContent object, use the Get-AdfsGlobalWebContent cmdlet.

    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-AdfsGlobalWebContent [[-Locale] <CultureInfo>] [-WhatIf] [-Confirm] [<CommonParameters>]

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

———————–Example 1———————–
Remove the global web content for the invariant locale
PS C:> Remove-AdfsGlobalWebContent
This command removes the global web content object that corresponds to the invariant locale.

———————–Example 2———————–
Remove the global web content for a locale
PS C:> Remove- AdfsGlobalWebContent -Locale en-us
This command removes the global web content object that corresponds to en-us locale.

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

Get-Command Remove-AdfsGlobalWebContent

You can also read about

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

Exit mobile version