Skip to content

Experimental PowerShell discover extension #1071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Gijsreyn
Copy link
Contributor

PR Summary

Implements an optimized approach to discovering PowerShell resources using .NET with parallel processing and direct result synchronization.

The previous approach using Get-ChildItem had unnecessary object overhead and required post-processing with Where-Object. The same is implied when using a thread-safe collection (ConcurrentBag), which adds unnecessary complexity.

PR Context

Fix #913

Note

While I recognize the need for caching in the issue, I left it out for now, assuming we can increment it over time.

@Gijsreyn
Copy link
Contributor Author

With PR #1025 around, it might be worthwhile to rename the directories.

@Gijsreyn Gijsreyn force-pushed the implement-powershell-discover branch from 6ec70d7 to 623d593 Compare August 22, 2025 06:18
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.

Discover extension for PSModulePath
1 participant