Skip to content
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

Improve speed for Get-CimInstance #347

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

Earlopain
Copy link
Contributor

Small followup for #346

In terms of the previous code, this currently does select * from Win32_Processor which is slower. I missed this in the other PR, this improves the speed when detection runs on windows.

The pipe is still needed since that command returns all properties anyways, they are just empty/not computed.

This only gets the property we are interested in, instead of computing them all
@grosser grosser merged commit a39fd6a into grosser:master Jun 8, 2024
6 checks passed
@grosser
Copy link
Owner

grosser commented Jun 8, 2024

nice!

@grosser
Copy link
Owner

grosser commented Jun 8, 2024

1.25.1

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.

2 participants