I have been looking into securing my W10 device and enable extended logging for Powershell using this link:
After I have set the parameters in the registry and restarted my client, I am failing to start powershell.
I.e. in the CMD typing "powershell" - which has worked without any issues, I receive:
"the type of object "System.String" can not be converted into "System.String".
Once I remove the registry keys from the link again, Powershell starts without any issues.
To my understanding I am just enabling the logging for the modules, etc. - but no script block or simillar.
Would you please assist to have both features (logging and powershell) working?
Thank you very much for your assistance.