Can you supply stack trace?
Once error is throwed, call: $error[0].exception.innerexception.stacktrace
The behavior of this command is to retrieve configuration data by using remote registry by default. If remote registry fails, the code falls back to ICertAdmin DCOM connection. From what I see, you don't have sufficient permissions to access CA configuration.
Once error is throwed, call: $error[0].exception.innerexception.stacktrace
The behavior of this command is to retrieve configuration data by using remote registry by default. If remote registry fails, the code falls back to ICertAdmin DCOM connection. From what I see, you don't have sufficient permissions to access CA configuration.