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.

Aliases

none

必須/オプション

true

位置

named

既定値

none

パイプライン入力の受け入れ

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.

Aliases

none

必須/オプション

true

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

<CommonParameters>

このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。

入力

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

  • Microsoft.CertificateServices.Commands.AutoEnrollmentPolicy

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

出力

出力型は、コマンドレットが出力するオブジェクトの型です。

  • 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