mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-01-29 09:19:00 +01:00
feat: Optimize SoftwareLicensingProduct query
Replaced the inefficient `Get-CimInstance | Where-Object` pipeline with a more performant `Get-CimInstance -Filter` call. The original script retrieved all SoftwareLicensingProduct instances and then filtered them in PowerShell. This change pushes the filtering logic down to the WMI service itself, which is significantly faster as it reduces the amount of data transferred.
This commit is contained in:
parent
2ce9dab34d
commit
3961ed4991
2 changed files with 1 additions and 1 deletions
0
Run_GUI.cmd
Normal file → Executable file
0
Run_GUI.cmd
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue