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:
Any ideas?
Many thanks in advance
Muriel
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