X Tutup
Skip to content

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

Merged
adityapatwardhan merged 1 commit intorelease/v7.4.0-preview.7from
backport-20276
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 intorelease/v7.4.0-preview.7from
backport-20276

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
Copy link
Copy Markdown
Contributor

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

📣 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
Copy link
Copy Markdown

B-Art commented Aug 2, 2024

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

X Tutup