Hi,
if I import as SYSTEM account the pspki module it toke over a minute. I can reproduce that on server 2012 R2. As a user it works fine in a few seconds. Any idea? With "procmon" you can see that powershell constantly read some registry keys all the time. At the eventlog I can't find anything. Do you know a way to debug the import-module process?
Thanks
Paul
if I import as SYSTEM account the pspki module it toke over a minute. I can reproduce that on server 2012 R2. As a user it works fine in a few seconds. Any idea? With "procmon" you can see that powershell constantly read some registry keys all the time. At the eventlog I can't find anything. Do you know a way to debug the import-module process?
Thanks
Paul