title: What can I do about "WMIC is deprecated"?
body: <p>I've been relying on these two commands:</p>
  
  <pre><code>wmic memorychip get capacity        // Outputs how much RAM there is (in a convoluted manner).
  wmic diskdrive get Status,Model     // Checks whether the HDDs/SSDs on the system are (supposedly) still "OK" and working.
  </code></pre>
  
  <p>Today, I casually typed "wmic" to see if I could get JSON output to the above commands. The first thing it printed, in red text, was this:</p>
  
  <pre><code>WMIC is deprecated.
  </code></pre>
  
  <p>I was pretty shocked by this. It's deprecated? Alright... Then I definitely should not be relying on it. What are the "modern alternatives" for those two commands, then? Do they even exist? Why do they just tell us that it's "deprecated" with zero further information?</p>