Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

New Post: PSPKI modue Get-IssuedRequest cause problem when used with scheduled task

$
0
0
Hello everyone,

I'm writing a script which gets issued certificates within the last 60 days and export the result to a html table.

I used the following command line:
Get-CertificationAuthority $CAName | Get-IssuedRequest -Property EnrollmentFlags -Filter "NotAfter -ge $today" , "NotAfter -le $endperiod"
When i call the script interactively in a PS Window, i managed to get all the requested certificates. However when i used a scheduled task there aren't any certificates.

Any ideas?

Many thanks in advance

Muriel

Viewing all articles
Browse latest Browse all 729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>