Comments on this page are supposed to improve article content and no technical support is provided. For technical questions, please visit project home page at: https://github.com/Crypt32/PSPKI

Get-EnrollmentPolicyServerClient

Get-EnrollmentPolicyServerClient

Synopsis

Retrieves locally registered Certificate Enrollment Policy (CEP) server endpoints.

Syntax

Get-EnrollmentPolicyServerClient [-UserContext] [<CommonParameters>]

Description

Retrieves locally registered Certificate Enrollment Policy (CEP) server endpoints and their settings. Certificate Enrollment Policy Service provides an ability to perform non-domain (from standalone machine and from non-Windows operating system) to enroll client certificates from Windows-based CA server. By using CEP servers, clients can utilize autoenrollment functionality without domain membership.

The command retrieves CEP service information that is registered by group policy or local registry information.

Note: this command is available and supported on Windows 7/Windows Server 2008 R2 and newer operating systems.

Parameters

-UserContext <SwitchParameter>

Specifies the context to retrieve. If the switch is presented, then CEP servers registered for the current user account are returned, otherwise, CEP servers registered for local machine account are returned.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

None.

Outputs

PKI.Enrollment.Policy.PolicyServerClient[]

Notes

Author: Vadims Podans
Blog: https://www.sysadmins.lv

Examples

Example 1

PS C:\> Get-EnrollmentPolicyServerClient -UserContext

Retrieves all locally registered CEP clients.

Related links

PowerShell Support

  • PowerShell 3.0

Operating System Support

  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows Server 2008 R2 all editions
  • Windows Server 2012 all editions
  • Windows Server 2012 R2 all editions

Comments:

Captcha