WMI
Windows Management Instrumentation
Get-CimInstance
Get-CimInstance -ClassName Win32_BIOS
Get-CimInstance -ClassName Win32_BIOS | Select-Object -Property SerialNumber
Get-CimInstance -Query "select * from win32_product where name LIKE '%ashtop%'"
Deprecated
Get-WmiObject
Get a list of installed applications:
Get-WmiObject -Class Win32_Product
With a specific pattern:
Get-WmiObject -Query "select * from win32_product where name LIKE '%ashtop%'"
Older
https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmi-start-page
https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmic
https://www.windows-commandline.com/wmic-useraccounts/
WMIC is deprecated as of Windows 10, version 21H1; and as of the 21H1 semi-annual channel release of Windows Server. This utility is superseded by Windows PowerShell for WMI; see Chapter 7 - Working with WMI. This deprecation applies only to the WMIC utility. Windows Management Instrumentation (WMI) itself is not affected.