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.
The post wmic deprecated appeared first on PowerShell for Windows Admins.