Export-AdfsWebContent

Export-AdfsWebContent

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

構文

Parameter Set: Default
Export-AdfsWebContent [[-Locale] <CultureInfo> ] -FilePath <String> [-Confirm] [-WhatIf] [ <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 フェデレーション サービス (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.

パラメーター

-FilePath<String>

Specifies a file path. The cmdlet exports properties of web content objects to the file that you specify.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Locale<CultureInfo>

Specifies a locale. The cmdlet exports 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: Export web content for the invariant locale

This command exports all the customized web content for the invariant locale to the specified file.

PS C:\> Export-AdfsWebContent -FilePath "C:\WebContent\Invariant.resx"

Example 2: Export web content for the a specified localespecified

This command exports all the customized web content for the en-us locale to the specified file.

PS C:\> Export-AdfsWebContent -Locale en-us -FilePath "C:\WebContent\EnUs.resx"

関連トピック

Import-AdfsWebContent