Instead, migrate to for a better scripting experience with debugging, IntelliSense, Git integration, and cross-platform support. Need help setting up VS Code for PowerShell? Let me know in the comments!
Or use DISM:
Add-WindowsFeature –Name PowerShell-ISE (For Windows Server) windows powershell ise download