Script output from certutil command to be used in certreg commands RRS feed

  • Question

  • I need to obtain the copies of certificates on my CA that were issued for a specific date that match certain criteria (such as which template was used), and have the CA place copies of those certificate files in a directory for me.  It doesn't matter if it exports them in PEM or DER format.  I've been digging for ways to do this in PowerShell similar to how commands like awk would work for parsing output in Linux, but I haven't had any luck.  I need to parse the output I get from certutil, and send parts of the output to various certreg commands.

    • Moved by Bill_Stewart Friday, January 26, 2018 3:41 PM Unanswerable drive-by question
    Saturday, December 16, 2017 10:00 PM

All replies