As an attempt to repair, you can disable and re-enable Windows PowerShell. See this post on Microsoft's forums. (Edit: Per Ramhound's comments, note that this is (at best) unlikely to help. This does not uninstall or entirely disable all versions of Windows PowerShell)
If that doesn't work, you can attempt to repair/reset/resinstall Windows. Note that your files and installed software will be affected by these options.
However (since you just said "PowerShell" and not explicitly "Windows PowerShell"), depending on your situation, you may wish instead to abandon Windows PowerShell and switch to PowerShell Core. (If so, you'll likely want to disable Windows Powershell) This may be preferable to resinstalling/resetting Windows, and this is actually Microsoft's prescribed solution for those who want the newer versions of PowerShell available; see this Microsoft docs page.
Here is Microsoft's page on installing PowerShell Core. Here is a 3rd party guide, written in 2019.
Windows 10 Home
orWindows 10 Professional
?Get-Module -ListAvailable -All
rather than a partial result (although I tried to edit in what you gave). You shouldn't try to guess an answer in your question - just describe the error.