Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[release/v7.4.0-preview.7]Fix Get-Service non-terminating error message to include category#20529

Merged
adityapatwardhan merged 1 commit into
release/v7.4.0-preview.7PowerShell/PowerShell:release/v7.4.0-preview.7from
backport-20276PowerShell/PowerShell:backport-20276Copy head branch name to clipboard
Oct 19, 2023
Merged

[release/v7.4.0-preview.7]Fix Get-Service non-terminating error message to include category#20529
adityapatwardhan merged 1 commit into
release/v7.4.0-preview.7PowerShell/PowerShell:release/v7.4.0-preview.7from
backport-20276PowerShell/PowerShell:backport-20276Copy head branch name to clipboard

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member

Backport #20276

…20276)

et-Service cmdlet has a common method for emitting non-terminating error message. Unfortunately, it assumed that if there isn't an inner exception message to just leave the content blank when formatting the error string. Fix here is that if there isn't an inner exception message, we use the string value of the error category instead of an empty string.
@adityapatwardhan adityapatwardhan merged commit b49de75 into release/v7.4.0-preview.7 Oct 19, 2023
@adityapatwardhan adityapatwardhan deleted the backport-20276 branch October 19, 2023 21:35
@microsoft-github-policy-service

microsoft-github-policy-service Bot commented Oct 19, 2023

Copy link
Copy Markdown
Contributor

📣 Hey @adityapatwardhan, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://forms.office.com/r/P926k48jRJ

@adityapatwardhan adityapatwardhan added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 23, 2023
@B-Art

B-Art commented Aug 2, 2024

Copy link
Copy Markdown

McpManagementService
NPSMSvc_*
and
WaaSMedicSvc
Still give a PermissionDenied message.
This only happens in Pwsh 7.4.x not in the "old" PowerShell 5.x.

sfc /scannow Solved the MUI message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.