Open OTonGitHub opened 4 months ago
Issue does-not occur when I run directory on the server, I notice that, even though I use both pwsh
command and adding pwsh
to a Profile.ps1
file in the directory C:\Windows\System32\WindowsPowershell\v1.0
where powershell searches for before opening shell, it did not work.
The reason seems to be that I am entering a remote session in powershell to the server using Enter-PSSession
command. No matter what I tried, I can't get the shell to switch to version 7 when in remote shell.
But works exacatly as expected in the environment I described above, when I tried directly on the server, $PSVersionTable
indicates I am using PS v7 when I run pwsh
directly on the server, but running it on remote shell still keeps it at version 5 as shown in my original issue description.
No issue when using pwsh version 7, I hope this projects keeps up and gets maintained, this is a really nice touch. If someone could chime in and help me to get it working on remote ps sessions, that would be awesome, thank you. please close if needed we can move this on to discussions.
I have started a discussion Q&A for this topic here as seems more appropriate since app works as intended, but not really as expected -> https://github.com/hjorslev/SteamPS/discussions/96
So, you may close this issue if deemed so, again, thanks for the work that goes into this module guys.
Just to be sure that I understand you correctly: The issue you describe above is only when you are using Enter-PSSession
, right?
Correct, basically when I am using Enter-PSSession
I cannot see the out messages, from the Installation of apps etc,
This could just be a Powershell 7 vs Powershell 5 Issue though, how it relates to using Enter-PSSession
is that, when I do use Enter-PSSession
a Powershell 7 shell cannot be used directly even if you do pwsh. But with SSH, you can.
Describe "Module Bug or Issue"
I run the command
Update-SteamApp -AppID 2430930 -Path 'C:\ASA-EntryPoint'
it asks for confirmation prompt, I press "Y" then return to proceed.After this cursor just keeps blinking in the next line.
Context "The Problem"
The problem is that the user is unsure if app is hanging or download is in progress, I can see download folders being made. I can also see that the SteamCMD command is being invoked in the background with the "proper" flags passed to it and running, but no progress.
Context "Expected Behavior"
Installation Progress.
Context "Additional Information"
Requested Shell Information As Requested:
My environment,
If needed additional information or screenshots etc, let me know, if the maintainers/contributors want to know more info, I will spend bit more time and include more logs and screencaps etc, thank you.