Export (0) Print
Expand All

Get-CertificateEnrollmentPolicyServer

Windows Server 2012 R2 and Windows 8.1

Updated: March 3, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-CertificateEnrollmentPolicyServer

Returns all of the certificate enrollment policy server URL configurations.

Syntax

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




Detailed Description

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.

Parameters

-context<Context>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Scope<EnrollmentPolicyServerScope>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Url<Uri>

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.CertificateServices.Commands.EnrollmentPolicyUrlDescription[]

    Describes the enrollment policy obtained from the specified URL.


Examples

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 http://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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft