Get-CertificateAutoEnrollmentPolicy

Get-CertificateAutoEnrollmentPolicy

Retrieves certificate auto-enrollment policy settings.

구문

Parameter Set: Default
Get-CertificateAutoEnrollmentPolicy -context <Context> {Machine | User} -Scope <AutoEnrollmentPolicyScope> {Applied | Local} [ <CommonParameters>]

자세한 설명

The Get-CertificateAutoEnrollmentPolicy cmdlet gets certificate auto-enrollment policy settings for the user or computer. This cmdlet can return the settings configured in local policy or that are being applied from either local or domain policy.

Delegation may be required when using this cmdlet with Windows PowerShell® remoting and changing user configuration.

매개 변수

-context<Context>

Specifies the context of the enrollment policy to return.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Scope<AutoEnrollmentPolicyScope>

Specifies the scope of the enrollment policy to return. If Local scope is specified, then the locally configured policy is returned. If Applied scope is specified, then the currently applied policy which can be either the local policy or a domain policy, is returned.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

  • Microsoft.CertificateServices.Commands.AutoEnrollmentPolicy

    The AutoEnrollmentPolicy object combines certificate auto-enrollment policy settings and exposes them as properties.

출력

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

  • Microsoft.CertificateServices.Commands.AutoEnrollmentPolicy

    The AutoEnrollmentPolicy object combines certificate auto-enrollment policy settings and exposes them as properties. Each property can be modified and piped into the Set-CertificateAutoEnrollmentPolicy cmdlet to be applied.

예제

EXAMPLE 1

This example gets the locally configured certificate auto-enrollment user policy. In this example, the Renew expired certificates, update pending certificates, and remove revoked certificates and Update certificates that use certificates templates options are enabled. Also, the Expiration notifications option is enabled and set to 10 percent of the certificate lifetime which are stored in the MY store. Finally, Balloon notifications are disabled.

PS C:\> Get-CertificateAutoEnrollmentPolicy -Scope Local -Context User

관련 항목

Set-CertificateAutoEnrollmentPolicy