Hey @布布子
It sounds like you may need to update the PATH variable
Go to Properties in My computer, Advanced system settings → Advanced → Environment Variables Select 'PATH' from the list of system variables and edit and set PATH to c:\windows\system32 ; this will solve your problem
Otherwise, I would recommend uninstalling and re-installing PowerShell.
Control Panel > Uninstall a program > Turn Windows features on or off > fine Windows Powershell and uncheck. Restart your PC and follow the same process to re-install.