is wmic deprecated?

Priya Jagyasi 21 Reputation points
2022-12-28T09:31:35.023+00:00

I was reading thru this article https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features which says wmic is deprecated. Does that mean we cannot use wmic commands in windows command prompt anymore? If yes, kindly suggest an alternative as we have a limitation to not use powershell as its replacement. Thank you.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,969 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marian Leica 536 Reputation points Microsoft Employee
    2022-12-28T09:38:33.777+00:00

    Hi,
    Indeed, the wmic command utility is being deprecated, meaning that it will no longer be further developed or updated, but still it will be working as long as the underlying system will continue to support it, no worries there.
    Ref: https://learn.microsoft.com/en-us/windows/win32/wmisdk/wmic

    The supported replacement for it would be CIM as stated here: https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/07-working-with-wmi?view=powershell-7.3

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.