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

Conversation

@bergmeister
Copy link
Collaborator

PR Summary

Fixes #1402 by not warning around process aliasing get-process but rather that there is likely invalid syntax around the proces block since it is technically not possible to execute process as a command.

It would be better to have a rule of it's own for checking the begin/process/end blocks within a scriptblock but issue #1571 tracks this. This PR fixes the red-herring warning, whilst also giving a better warning to the user in the short term.

PR Checklist

Rules/Strings.resx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'PROCESS' is implicitly aliasing 'Get-PROCESS'

2 participants

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