Check to see that the network path name is correct, that you have sufficient permission to access Windows Management Instrumentation, and that the Windows Management Instrumentation service is started ...
Microsoft has published a document with details about further WMI Command Line utility (WMIC) deprecation. It will soon be off by default and eventually removed from the next-gen Windows version.
Microsoft is moving forward with removing the Windows Management Instrumentation Command-line (WMIC) tool, wmic.exe, starting with the latest Windows 11 preview builds in the Dev channel.
Microsoft explains how to install WMIC on Windows 11 before its upcoming removal Later this year, Microsoft will turn off Windows Management Instrumentation Command (WMIC) as part of its deprecation.