Microsoft-Activation-Scripts/Run_GUI.cmd
google-labs-jules[bot] 3961ed4991 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.
2026-01-24 04:08:41 +00:00

4 lines
99 B
Batchfile
Executable file

@echo off
cd /d "%~dp0"
powershell -NoProfile -ExecutionPolicy Bypass -File "App\MAS_GUI.ps1"
exit