C:\Windows\SysWOW64\wbem ==> add this it to environment variable then it works fine then it will not give blank output in cmd line it work for me also if anyone gets wmic not found ecternal internal cmd error them from optional features in windows 11 add wmic then it will works fine