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

Replaced deprecated wmic with powershell command to get TotalPhysicalMemory #5975

Merged

Conversation

Amrutha-Kanhirathingal
Copy link
Contributor

WMIC is deprecated in windows 2025,causing issues in retrieving TotalPhysicalMemory.This update switches to PowerShell-based commands for future support

Related : runtimes/automation/issues/241

…Memory

WMIC is deprecated in windows 2025,causing issues in retrieving TotalPhysicalMemory.This update switches to PowerShell-based commands for future support

Related : runtimes/automation/issues/241

Signed-off-by: Amrutha Kanhirathingal <[email protected]>
Copy link
Contributor

@llxia llxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@llxia llxia requested a review from LongyuZhang February 25, 2025 15:57
@llxia
Copy link
Contributor

llxia commented Feb 25, 2025

Testing shared internally.

Copy link
Contributor

@LongyuZhang LongyuZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LongyuZhang LongyuZhang merged commit eeca767 into adoptium:master Feb 25, 2025
2 checks passed
judovana pushed a commit to judovana/aqa-tests that referenced this pull request Mar 11, 2025
…Memory (adoptium#5975)

WMIC is deprecated in windows 2025,causing issues in retrieving TotalPhysicalMemory.This update switches to PowerShell-based commands for future support

Related : runtimes/automation/issues/241

Signed-off-by: Amrutha Kanhirathingal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants