header image

wmic deprecated

Posted by: | January 27, 2017 Comments Off on wmic deprecated |

I saw a forum post today where the question involved the use of the wmi command line tool wmic.


Wmic was deprecated in Windows Server 2012 – https://technet.microsoft.com/en-us/library/hh831568(v=ws.11).aspx. It will eventually be removed.


You should use the CIM cmdlets instead of wmic. The syntax is much easier and the resultant code is easier to understand.


A little known fact – the PowerShell project was originally started as a replacement for wmic.

under: PowerShell and CIM, PowerShell and WMI

Comments are closed.