Don't overwrite (-c -f) the installed program.
psExec.exe \\Computername -s -h C:\windows\system32\wbem\winmgmt.exe /verifyrepository
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
how to check whether WMI is working fine or not? PS Remoting is not enable in my client environment.
I have tried to execute Winmgmt.exe /verifyrepository with below command. which is exited with error code 1 not giving consistent, inconsistent and so on.
psExec.exe \Computername -c -f -h "C:\windows\system32\wbem\winmgmt.exe" /verifyrepository
however the same command installing or executing exe on the remote computer.
Don't overwrite (-c -f) the installed program.
psExec.exe \\Computername -s -h C:\windows\system32\wbem\winmgmt.exe /verifyrepository
Hello @Nafis Alam
This article describes how to test WMI:
https://techcommunity.microsoft.com/t5/ask-the-performance-team/basic-wmi-testing/ba-p/372423
Hope this helps with your query,
-----
--If the reply is helpful, please Upvote and Accept as answer--