Set-AdfsWebConfig

Set-AdfsWebConfig

Modifies web customization configuration settings.

構文

Parameter Set: Default
Set-AdfsWebConfig [-ActiveThemeName <String> ] [-CDCCookieReader <Uri> ] [-CDCCookieWriter <Uri> ] [-ContextCookieEnabled <Boolean> ] [-HRDCookieEnabled <Boolean> ] [-HRDCookieLifetime <Int32> ] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-AdfsWebConfig cmdlet modifies web customization configuration settings. These settings impact any protocol that Active Directory フェデレーション サービス (AD FS) supports where a web browser facilitates token requests for home realm discovery (HRD) and authentication.

パラメーター

-ActiveThemeName<String>

Specifies the name of a web theme to be set as the active web theme in the web customization configuration. To create a web theme, use the New-AdfsWebTheme cmdlet.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-CDCCookieReader<Uri>

Specifies the Uniform Resource Identifier (URI) of the Common Domain Cookie (CDC) reader.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-CDCCookieWriter<Uri>

Specifies the URI of the CDC writer.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ContextCookieEnabled<Boolean>

Indicates whether to enable the context cookie.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-HRDCookieEnabled<Boolean>

Indicates whether to enable the HRD cookie. If you specify a value of $False, when AD FS has more than one claims provider trust enabled, end users must select the home realm in every application request.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-HRDCookieLifetime<Int32>

Specifies the lifetime, in days, of an HRD cookie.

エイリアス

なし

必須?

false

位置は?

named

既定値

30

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

false

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

false

-PassThru

作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

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)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.String;System.String[];System.Uri;System.Int32;System.Boolean

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • This cmdlet generates string for a theme to save as the active theme.

Example 1: Set customization configuration properties

This command sets properties in the web customization configuration settings.

PS C:\> Set-AdfsWebConfig -ActiveThemeName "Default" -CDCCookieReader https://www.Contoso.com/reader.aspx -CDCCookieWriter https://www.Contoso.com/writer.aspx -ContextCookieEnabled $True -HRDCookieEnabled $True -HRDCookieLifetime 30

関連トピック

Get-AdfsWebConfig

New-AdfsWebTheme