Import-AdfsWebContent
Import-AdfsWebContent
Imports properties from a resource file into global and relying party web content objects.
Sintaxis
Parameter Set: Default
Import-AdfsWebContent [[-Locale] <CultureInfo> ] -FilePath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Import-AdfsWebContent cmdlet imports properties from a .resx resource file into global and relying party web content objects. If no corresponding web content object exists, the cmdlet creates an object. If you do not specify a locale, the cmdlet imports web content for the invariant locale.
Use this cmdlet to implement localization of custom messages for the Servicios de federación de Active Directory (AD FS) sign-in experience. Export the web content by using the Export-AdfsWebContent cmdlet to a .resx file, localize the file, and then import the localized .resx file.
Parámetros
-FilePath<String>
Specifies a file path. The cmdlet imports properties from the file that you specify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Locale<CultureInfo>
Specifies a locale. The cmdlet imports properties of web content objects for the local that you specify.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Import web content for the invariant locale
This command imports the customized web content for the invariant locale into the AD FS configuration store from the specified file.
PS C:\> Import-AdfsWebContent -FilePath "C:\WebContent\Invariant.resx"
Example 2: Import web content for a specified locale
This command imports the customized web content for the en-us locale into the AD FS configuration store from the specified file.
PS C:\> Import-AdfsWebContent -Locale en-us -FilePath "C:\WebContent\EnUs.resx"