Problem:
When I start PowerShell from the integrated terminal in VS Code I get a warning about not being able to load PSReadLine.
Solution:
Set the Execution Policy to RemoteSigned.
- Start Code as Administrator
- Open the Integrated Terminal
- Type powershell
- Type Set-ExecutionPolicy –ExecutionPolicy RemoteSigned
Now you can restart Code and start PowerShell from the integrated terminal with no warnings.