Skip to content

Instantly share code, notes, and snippets.

View JohanSelmosson's full-sized avatar

Johan Selmosson JohanSelmosson

View GitHub Profile
@JohanSelmosson
JohanSelmosson / ReportPendingCertRequests.ps1
Last active January 10, 2022 15:40
Report new Pending Certificate Requests by email
$processedrequestspath = "c:\nordlo\pki\processedrequests.txt"
$smtpserver= 'smtp.domain.local'
$fromaddress= '[email protected]'
$recipient = '[email protected]'
$KBArticle = 'KBXXXXXXXX'
#[System.Net.ServicePointManager]::SecurityProtocol = 'TLS12'
#install-module pspki