I have written a number of scripts to perform various administrative functions for my team members. One of them is to handle certificate revocation, all they need to provide is the FQDN and the script takes care of querying the CA and displaying it back to the user. The user does not need to have any scripting experience to run it. As part of this, I perform a dump of the $error variable at the end of the script execution to a central log file for troubleshooting unexpected behavior. The O.P. error message is appearing in the error dump of my script and I wasn't sure if I was doing something wrong or if I stumbled onto a bug. Seeing as how I had not any terminating errors and the PSPKI module functions seemed to the working, I posted the error to see if this was expected behavior or something else.
Thank you for the clarification.
Thank you for the clarification.