Import-AdfsWebContent
Import-AdfsWebContent
Imports properties from a resource file into global and relying party web content objects.
構文
Parameter Set: Default
Import-AdfsWebContent [[-Locale] <CultureInfo> ] -FilePath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
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 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.
パラメーター
-FilePath<String>
Specifies a file path. The cmdlet imports properties from the file that you specify.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Locale<CultureInfo>
Specifies a locale. The cmdlet imports properties of web content objects for the local that you specify.
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
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"