This page looks best with JavaScript enabled

A Powershell Replacement for wmic

 ·  ☕ 1 min read

If you’ve tried to use the wmic command in Windows 11 recently you’ll probably receive this error message:

“wmic: The term ‘wmic’ is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.”

The wmic command is no longer part of Windows 11. I used to use wmic a lot to get model and manufacture information, primarily for drivers. Luckily this command has a PowerShell replacement.

1
Get-WmiObject -Class Win32_Bios

or

1
Get-CimInstance -ClassName Win32_ComputerSystem

Both of the above can be used to obtain manufacturer and model information for a system.

Thanks
-Mike

Share on
Support the author with