title: WMI deprecated: how to query from .Net Core now?
body: <p>I've read <a href="https://www.petri.com/what-is-the-difference-between-wmi-and-cim" rel="nofollow noreferrer">here that Microsoft is deprecating WMI</a>. I need to start a project in .NET Core and query information from Windows, e.g. <code>Win32_OperatingSystem</code> or <code>Win32_LogicalDisk</code>. </p>
  
  <p>I'v read that you should avoid <code>Get-WmiObject</code> in PowerShell and use <code>Get-CimInstance</code> instead. What (which Nuget/library) should be used in .Net Core now to query those kind of information?</p>