Some Developer versions of Windows 10 and 11 do not contain wmic.exe.
Please use a Release version of Windows or add wmic.exe plus associated files/folders from a full release version of Windows.
To add wmic.exe from a release version, copy the C:\Windows\System32\wbem folder and subfolders (you will need Admin rights). You will also need to add the folder to your Windows Path.
Note: Running SFC /scannow may remove wmic.exe on a developer version of Windows (untested?).