Skip to content

Update use of Windows PowerShell to just PowerShell in our logging#9508

Merged
iSazonov merged 1 commit intoPowerShell:masterfrom
SteveL-MSFT:windows-powershell
May 3, 2019
Merged

Update use of Windows PowerShell to just PowerShell in our logging#9508
iSazonov merged 1 commit intoPowerShell:masterfrom
SteveL-MSFT:windows-powershell

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

@SteveL-MSFT SteveL-MSFT commented May 1, 2019

PR Summary

Some cases where we log on non-Windows and it mentions Windows PowerShell when it's not specific about Windows PowerShell. Searched for occurrences of Windows PowerShell in our code base and changed the ones that can be generic PowerShell. VSCode fixed some whitespace issues and saw some typos in a comment I fixed at the same time.

PR Checklist

@iSazonov
Copy link
Copy Markdown
Collaborator

iSazonov commented May 1, 2019

@SteveL-MSFT Previously we already fixed this by replacing Windows PowerShell with PowerShell Core in all code base. All changes in the PR is related to Windows code. I think it makes no sense to change something in the Windows only code.

@SteveL-MSFT
Copy link
Copy Markdown
Member Author

Specifically, the PowerShell.Core.Instrumentation.man manifest for ETW events uses Windows PowerShell when it should have used just PowerShell. This is Windows specific, but not Windows PowerShell specific.

@iSazonov
Copy link
Copy Markdown
Collaborator

iSazonov commented May 1, 2019

If we previously replaced Windows PowerShell with PowerShell Core should we now replace PowerShell Core with PowerShell?

@SteveL-MSFT
Copy link
Copy Markdown
Member Author

@iSazonov We should probably replace them where it's not important to differentiate that it's Core. I'll review the instances and add it to this PR.

@SteveL-MSFT
Copy link
Copy Markdown
Member Author

Turns out there's a lot more instances of PowerShell Core, so doing that as a separate PR

@iSazonov iSazonov requested a review from TravisEz13 May 2, 2019 04:57
@iSazonov iSazonov added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label May 2, 2019
@iSazonov iSazonov added this to the 7.0.0-preview.1 milestone May 2, 2019
@iSazonov iSazonov merged commit 3bfca6d into PowerShell:master May 3, 2019
@SteveL-MSFT SteveL-MSFT deleted the windows-powershell branch March 10, 2020 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants