Export-AdfsWebContent
Exports properties of all web content objects in a specific locale to a specified file.
Export-AdfsWebContent
[[-Locale] <CultureInfo>]
-FilePath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
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 cmdlet.
PS C:\> Export-AdfsWebContent -FilePath "C:\WebContent\Invariant.resx"
This command exports all the customized web content for the invariant locale to the specified file.
PS C:\> Export-AdfsWebContent -Locale en-us -FilePath "C:\WebContent\EnUs.resx"
This command exports all the customized web content for the en-us locale to the specified file.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a file path. The cmdlet exports properties of web content objects to the file that you specify.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a locale. The cmdlet exports properties of web content objects for the local that you specify.
Type: | CultureInfo |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |