Reputation: 23
I recently installed the PowerShell 6* version on windows server 2016. While i try to run pwsh.exe in PowerShell ISE, windows get hanged and it's return nothing for more input. Please refer below screenshot for same. Anyone faced same issue please let me solutions or work around for it. Screenshot of PowerShell windows
Upvotes: 0
Views: 558
Reputation: 1935
As the comments on your question indicate, you should switch up to Visual Studio Code for PowerShell development. ISE is not regularly updated to support later versions of PowerShell.
The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows.
There is no support for the ISE in PowerShell v6 and beyond. Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension.
As far as commands that are not PowerShell Core specific, you should update to PowerShell 7 and see if your compatibility issues with those modules are resolved. There has been a lot of work into compatibility and perhaps you'll be able to use these modules now, or find a more up to date alternative.
For PowerShell Core 6, you can also look at WindowsCompatibility
module. I've been told that this is not required in PowerShell 7, but it was helpful for me on v6 to better leverage WindowsPowerShell modules while I was in my pwsh.exe
session.
Upvotes: 1