Hi,
Thank you for writing to Microsoft Community Forums.
I appreciate the efforts taken by you in resolving the issue. I understand that you are receiving an error when trying to access PowerShell. I’ll certainly assist you with the issue.
However please let us know:
- Does this issue occur with any other application?
- Are you aware of any changes made to the computer prior to this issue?
- Which build version of Windows is installed on the computer? To check, type winver in the search bar on the Taskbar and hit Enter.
I would suggest you to create a new user account on the computer, and see if that helps. Refer the article Create a local user or administrator account in Windows 10.
Let us know how it goes.
Regards,
Nikhar Khare
Microsoft Community – Moderator