Problem running 3.0 version of the PSPKI module

Nov 25, 2014 at 7:53 PM
There's seems to be a bug in the 3.0 version of the module. When I run the this command as a scheduled task using the system account, it returns null. However, if I uninstall 3.0 and reinstall 2.8, it works fine. Here's the command:

Get-CertificationAuthority "$caname" | Get-IssuedRequest -Filter "NotAfter -ge $(Get-Date)", "NotAfter -le $((Get-Date).AddMonths(1))"

I also tried running the task as a user and a domain admin with 3.0 installed. It only worked as a domain admin - which is not how I'd really prefer to run it.

Also - the 3.0 installer gives one the choice of installing the module for all users, however the install path remains the same even if you change it. I replicated this behavior several times on a new Windows Server 2012 R2 system.
Coordinator
Dec 4, 2014 at 7:15 PM
There is no difference between 2.8 and 3.0 in regards to task scheduler. But I'll check what is going on.