Get-CertificateEnrollmentPolicyServer
Returns all of the certificate enrollment policy server URL configurations.
Get-CertificateEnrollmentPolicyServer
[-Url <Uri>]
-Scope <EnrollmentPolicyServerScope>
-Context <Context>
[<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.
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.
$params = @{
Url = 'http://www.contoso.com/Policy/service.svc'
Scope = 'All'
Context = 'Machine'
}
Get-CertificateEnrollmentPolicyServer @params
This example returns all of the enrollment policy URL configurations that have the given URL for the machine context.
Get-CertificateEnrollmentPolicyServer -Scope ConfiguredByYou -Context User
This example returns all of the enrollment policy server URL configurations that are configured for the user context.
Retrieves information about the enrollment policy server for the local computer (machine) or current user context.
Type: | Microsoft.CertificateServices.Commands.Context |
Accepted values: | Machine, User |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies where the cmdlet will find the enrollment policy server configuration.
Type: | Microsoft.CertificateServices.Commands.EnrollmentPolicyServerScope |
Accepted values: | Applied, ConfiguredByYou, All |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Limits the returned enrollment policy servers to the servers that contain the provided URL.
Type: | Uri |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
None
Microsoft.CertificateServices.Commands.EnrollmentPolicyUrlDescription[]
Describes the enrollment policy obtained from the specified URL.