Returns all of the certificate enrollment policy server URL configurations.
Syntax Default (Default) Get-CertificateEnrollmentPolicyServer [-Url ] -Scope -Context [] DescriptionThe 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 Get-CertificateEnrollmentPolicyServer -Scope All -Context UserThis 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 $params = @{ Url = 'http://www.contoso.com/Policy/service.svc' Scope = 'All' Context = 'Machine' } Get-CertificateEnrollmentPolicyServer @paramsThis example returns all of the enrollment policy URL configurations that he the given URL for the machine context.
EXAMPLE 3 Get-CertificateEnrollmentPolicyServer -Scope ConfiguredByYou -Context UserThis example returns all of the enrollment policy server URL configurations that are configured for the user context.
Parameters -ContextRetrieves information about the enrollment policy server for the local computer (machine) or current user context.
Parameter properties Type:Microsoft.CertificateServices.Commands.Context Default value:None Accepted values:Machine, User Supports wildcards:False DontShow:False Parameter sets (All) Position:Named Mandatory:True Value from pipeline:False Value from pipeline by property name:False Value from remaining arguments:False -ScopeSpecifies where the cmdlet will find the enrollment policy server configuration.
Parameter properties Type:Microsoft.CertificateServices.Commands.EnrollmentPolicyServerScope Default value:None Accepted values:Applied, ConfiguredByYou, All Supports wildcards:False DontShow:False Parameter sets (All) Position:Named Mandatory:True Value from pipeline:False Value from pipeline by property name:False Value from remaining arguments:False -UrlLimits the returned enrollment policy servers to the servers that contain the provided URL.
Parameter properties Type:Uri Default value:None Supports wildcards:False DontShow:False Parameter sets (All) Position:Named Mandatory:False Value from pipeline:True Value from pipeline by property name:True Value from remaining arguments:False CommonParametersThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs None Outputs Microsoft.CertificateServices.Commands.EnrollmentPolicyUrlDescriptionDescribes the enrollment policy obtained from the specified URL.
Related Links Add-CertificateEnrollmentPolicyServer Remove-CertificateNotificationTask