Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Get-Certificate

Get-Certificate - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Certificate

Short description
Submits a certificate request to an enrollment server and installs the response or retrieves a certificate for a previously submitted request.

Syntax


Description
The Get-Certificate cmdlet can be used to submit a certificate request and install the resulting certificate, install 
a certificate from a pending certificate request, and enroll for ldap. If the request is issued, then the returned 
certificate is installed in the store determined by the CertStoreLocation parameter and return the certificate in the 
EnrollmentResult structure with status Issued. If the request is made pending, then the request is installed in the 
machine REQUEST store and a request is returned in the EnrollmentResult structure with status Pending.


This cmdlet can be used in a Stateless mode where this cmdlet does not look up anything in the vault or in a Stateful 
mode where it looks at registered certificate enrollment policy servers by identifier (ID) and credential. When used 
with a request object and no credential, this cmdlet will look up credentials in the vault based on the URL for the 
enrollment policy server.


This cmdlet will not accept a policy server identifier (ID). If a URL is not specified, then only the default 
certificate enrollment policy ID is used and the cmdlet will attempt to obtain policy information from any of its URLs.


Delegation may be required when using this cmdlet with Windows PowerShell® remoting and changing user configuration.