Check out how to query WMI objects with PowerShell since Microsoft is deprecating WMIC:
https://www.virtualizationhowto.com/2024/04/get-ciminstance-get-wmi-objects-with-powershell/
Check out how to query WMI objects with PowerShell since Microsoft is deprecating WMIC:
https://www.virtualizationhowto.com/2024/04/get-ciminstance-get-wmi-objects-with-powershell/