Skip to content

Conversation

ThomasNieto
Copy link
Contributor

PR Summary

This PR sets ProgressPreference to SilentlyContinue for the Windows PowerShell adapter.

PR Context

Resolves #923

Testing evidence

Removed the WindowsPSAdapterCache.json before each run.

win-progress.mp4
ps7-progress.mp4

@ThomasNieto ThomasNieto changed the title Suppress Windows PowerShell progress preference Suppress Windows PowerShell progress Jul 13, 2025
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

$global:ProgressPreference = 'SilentlyContinue'
Copy link
Member

Choose a reason for hiding this comment

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

I tried this and it didn't work! I wonder if it might be due to dsc picking up the ps-adapter I had installed instead of my modified one...

@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Jul 13, 2025
Merged via the queue into PowerShell:main with commit 518e72e Jul 13, 2025
4 checks passed
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.

Suppress WinPS progress info

2 participants