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 AD FS(Active Directory Federation Services) 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

작업하고 있는 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

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

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • 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