PowerShell 5.0 for Windows 7 does not support syntax highlighting + checking
The latest build of PS5 in Windows 10 build 10586.36 supports syntax highlighting + checking in the command-line host (powershell.exe).
This is not the case in powershell.exe 5.0.10586.51 for Windows 7
Is this a temporary limitation?
Jason Shirk [MSFT] commented
PSReadline is only included in Win10, but you can install it on Win7/Win8 with:
See: https://github.com/lzybkr/PSReadLine for more details.