Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see progress/hanging when updating/installing steam app (Using Enter-PSSession) #95

Open
OTonGitHub opened this issue May 24, 2024 · 4 comments
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!

Comments

@OTonGitHub
Copy link

OTonGitHub commented May 24, 2024

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:

Name        Version
------      -------
SteamPS     4.0.0

Name                         Value
------                       ------
PSVersion                    5.1.20348.2110
PSEdition                    Desktop
PSCompatibleVersions         {1.0, 2.0, 3.0, 4.0...}
BuildVersion                 10.0.20348.2110
CLRVersion                   4.0.30319.42000
WSManStackVersion            3.0
PSRemotingProtocolVersion    2.3
SerializationVersion         1.1.0.1

My environment,

  • Windows Server 2022 Core (Without GUI)
  • Installed SteamPS Module.
  • Installed chocolatey and used it to install PowerShell v7
  • All the scripts and commands as administrator in the shell using runas.

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.

@OTonGitHub OTonGitHub added Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it! labels May 24, 2024
@OTonGitHub
Copy link
Author

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.

@OTonGitHub
Copy link
Author

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 -> #96

So, you may close this issue if deemed so, again, thanks for the work that goes into this module guys.

@hjorslev
Copy link
Owner

Just to be sure that I understand you correctly: The issue you describe above is only when you are using Enter-PSSession, right?

@OTonGitHub
Copy link
Author

OTonGitHub commented May 29, 2024

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.

@OTonGitHub OTonGitHub changed the title Unable to see progress / Pwsh hanging when updating/installing steam app. Unable to see progress/hanging when updating/installing steam app (Using Enter-PSSession) May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!
Projects
None yet
Development

No branches or pull requests

2 participants