Windows-Admin-Center-Ideas-and-Feedback
Windows-Admin-Center-Ideas-and-Feedback copied to clipboard
powershell module always execute PS version5
Gateway Version:2211 build 1.4.2212.08003 Extension Version powersell 2.28.0 To Reproduce Steps to reproduce the behavior:
- install last version of PS by using this script
Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile install-powershell.ps1; ./install-powershell.ps1 - new powershell will be install and is accessible via manually execute \powershel\7\pwsh.exe
- but when i use powershell module in wac for the server new PS is install, wac will execute PS v5 again.
Expected behavior i except WAC check my ps version suggest me that new version is available or give me an option to show my new PS installation path to execute my file instead old version. Screenshots & Additional context here is my post to ask help https://techcommunity.microsoft.com/t5/windows-admin-center/how-change-defualt-powershell-version-running-from-wac/m-p/3833162#M1904 please guide me .
PWSH is running fine, however the XTERM window used to create the psuedo-terminal in your web browser does not maintain an interactive console when opened. For instance, attempting to enter 'DISKPART' interactive will do the same thing -- open, then immediately close.
Hello @cmkb3, Thank you for bringing this up. I've logged this as a bug and I am currently investigating the issue. Kind regards, Rebecca.
hi, any update about this issue?