Get-CertificateEnrollmentPolicyServer

Get-CertificateEnrollmentPolicyServer

Returns all of the certificate enrollment policy server URL configurations.

構文

Parameter Set: Default
Get-CertificateEnrollmentPolicyServer -context <Context> {Machine | User} -Scope <EnrollmentPolicyServerScope> {All | Applied | ConfiguredByYou} [-Url <Uri> ] [ <CommonParameters>]

詳細説明

The Get-CertificateEnrollmentPolicyServer cmdlet retrieves information required for connecting to one or more certificate enrollment policy servers configured for this user or computer. The returned information can be filtered by providing a specific URL, a specific scope, or requesting only user or computer (machine) context.

パラメーター

-context<Context>

Retrieves information about the enrollment policy server for the local computer (machine) or Current User context.

Aliases

none

必須/オプション

true

位置

named

既定値

none

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

false

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

false

-Scope<EnrollmentPolicyServerScope>

Specifies where the cmdlet will find the enrollment policy server configuration.

Aliases

none

必須/オプション

true

位置

named

既定値

none

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

false

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

false

-Url<Uri>

Limits the returned enrollment policy servers to the servers that contain the provided URL.

Aliases

none

必須/オプション

false

位置

named

既定値

none

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

True (ByValue, ByPropertyName)

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

false

<CommonParameters>

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

入力

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

  • None

出力

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

  • Microsoft.CertificateServices.Commands.EnrollmentPolicyUrlDescription[]

    Describes the enrollment policy obtained from the specified URL.

使用例

EXAMPLE 1

This example returns all of the enrollment policy URL configurations that are included with the user configuration, Group Policy, and local policy for the User context.

PS C:\> Get-CertificateEnrollmentPolicyServer -Scope All -Context User

EXAMPLE 2

This example returns all of the enrollment policy URL configurations that have the given URL for the machine context.

PS C:\> Get-CertificateEnrollmentPolicyServer -Url https://www.contoso.com/Policy/service.svc -Scope All -Context Machine

EXAMPLE 3

This example returns all of the enrollment policy server URL configurations that are configured for the User context.

PS C:\> Get-CertificateEnrollmentPolicyServer -Scope ConfiguredByYou -Context User

関連項目

Add-CertificateEnrollmentPolicyServer

Remove-CertificateNotificationTask