Export-AdfsWebContent

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

Synopsis

Exports properties of all web content objects in a specific locale to a specified file.

Description

The Export-AdfsWebContent cmdlet exports properties of all web content objects in a specific locale, including global and relying party web contents, to a specified file. If you do not specify a locale, the cmdlet exports the web content of the invariant locale. The Set-AdfsGlobalWebContent and Set-AdfsRelyingPartyWebContent cmdlets add customized web content.

Use this cmdlet to implement localization of custom messages for the Active Directory Federation Services (AD FS) sign-in experience. Export the web content to a .resx file, localize the file, and then import the localized .resx file by using the Import-AdfsWebContent.

Parameters

-Confirm <>

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

-FilePath <string>

    Required?                    true
    Position?                    Named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  

-Locale <cultureinfo>

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

-WhatIf <>

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

Syntax

Export-AdfsWebContent [[-Locale] <CultureInfo>] -FilePath <String> [-WhatIf] [-Confirm] [<CommonParameters>]

————————–Example 1————————–
Export web content for the invariant locale
PS C:\> Export-AdfsWebContent -FilePath “C:\WebFolder\Invariant.resx”
This command exports all the customized web content for the invariant locale to the specified file.

————————–Example 2————————–
Export web content for the a specified localespecified
PS C:\> Export-AdfsWebContent -Locale en-us -FilePath “C:\WebFolder\EnUs.resx”
This command exports all the customized web content for the en-us locale to the specified file.

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

Get-Command Export-AdfsWebContent

Get-Command Export-AdfsWebContent powershell script command cmdlet adfs

You can also read about

  • Import-AdfsWebContent

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 *