< Back

Get-CertificateEnrollmentPolicyServer

Wed Jan 30, 2019 5:57 pm

NAME Get-CertificateEnrollmentPolicyServer



SYNOPSIS

Returns all of the certificate enrollment policy server URL configurations.





SYNTAX

Get-CertificateEnrollmentPolicyServer [-Url <Uri>] -context {Machine | User} -Scope {All | Applied | ConfiguredByYou} [<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.





PARAMETERS

-context <Context>

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



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.



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.



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, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None









OUTPUTS

Microsoft.CertificateServices.Commands.EnrollmentPolicyUrlDescription[]



Describes the enrollment policy obtained from the specified URL.





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.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287530

Add-CertificateEnrollmentPolicyServer

Remove-CertificateNotificationTask