Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-CertificateEnrollmentPolicyServer

Brian Lich|Last Updated: 3/31/2017

SYNOPSIS

Returns all of the certificate enrollment policy server URL configurations.

SYNTAX

Get-CertificateEnrollmentPolicyServer [-Url <Uri>] -Scope <EnrollmentPolicyServerScope> -context <Context>
 [<CommonParameters>]

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.

EXAMPLES

EXAMPLE 1

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

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.

EXAMPLE 2

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

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

EXAMPLE 3

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

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

PARAMETERS

-Scope

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

Type: EnrollmentPolicyServerScope
Parameter Sets: (All)
Aliases: 
Accepted values: Applied, ConfiguredByYou, All

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Url

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

Type: Uri
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-context

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

Type: Context
Parameter Sets: (All)
Aliases: 
Accepted values: Machine, User

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

None

OUTPUTS

Microsoft.CertificateServices.Commands.EnrollmentPolicyUrlDescription[]

Describes the enrollment policy obtained from the specified URL.

NOTES

Add-CertificateEnrollmentPolicyServer

Remove-CertificateNotificationTask

© 2017 Microsoft