WMI Diagnosis Tool no more available for download ,, is WMIC deprecated ?

Rohit Kumar 21 Reputation points
2020-09-23T09:18:24.69+00:00

I am running a command like ,,wmic process get ProcessId,CommandLine,Name/format:list,, its execution time varies from 2 to 14 sec on my system. A possible reason for this may be varying cpu and memory loads (please confirm) ,, I wanted to investigate it with WMI Diagnosis Tool ,, but it is no more available to dowmload from the link mentioned at the
link:https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmidiag-2-2-is-here/ba-p/375642 .

Also ,will wmic will be deprecated soon and will be succeeded by some Powershell commandlet ,, please share some info on this.

Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
421 questions
{count} votes

Accepted answer
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,681 Reputation points Microsoft Vendor
    2020-09-24T07:11:57.803+00:00

    Hi,

    The respone time getting long might also be casued by network issue. Please check below technet post for some suggestions.

    Monitoring via WMI - query needs a long time to get a result
    https://social.technet.microsoft.com/Forums/lync/en-US/56775b06-8c9e-4780-a0c1-71efa2d111b7/monitoring-via-wmi-query-needs-a-long-time-to-get-a-result?forum=winserverManagement

    Below article mentioned that "The WMI command-line tool (Wmic) is deprecated. Use PowerShell cmdlets instead". You can use PowerShell command Get-WmiObject to get instances of Windows Management Instrumentation (WMI) classes or information about the available classes. And starting in PowerShell 3.0, this cmdlet has been superseded by Get-CimInstance

    For your reference

    Features Removed or Deprecated in Windows Server 2012
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh831568(v=ws.11)#wmi-providers

    Get-WmiObject
    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-wmiobject?view=powershell-5.1

    Has WMIC been un-deprecated?
    https://superuser.com/questions/1546599/has-wmic-been-un-deprecated

    Thanks,
    Eleven

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.


1 additional answer

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,681 Reputation points Microsoft Vendor
    2020-09-24T05:14:33.787+00:00

    Hi,

    Please be informed that WMI diagnosis Utility (WMIDiag.exe) is no longer supported starting with Windows 8 and Windows Server 2012.

    For more detailes, please refer to below.

    WMI Troubleshooting
    https://learn.microsoft.com/en-us/windows/win32/wmisdk/wmi-troubleshooting

    Thanks,
    Eleven

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.