 <p><code>wmic</code> is a command-line wrapper for <strong>Windows Management Instrumentation (WMI)</strong> API. In .NET Framework, the <a href="http://msdn.microsoft.com/en-us/library/system.management.aspx" rel="nofollow noreferrer"><code>System.Management</code></a> namespace provides access to this API.</p> <p>The Visual Basic .NET equivalent of your command line is below. This code queries the <a href="http://msdn.microsoft.com/en-us/library/aa394372.aspx" rel="nofollow noreferrer"><code>Win32_Process</code></a> class instances corresponding to <em>mpc-hc.exe</em> and reads their <code>CommandLine</code> property:</p> <pre><code>Imports System.Management ... Dim searcher As New ManagementObjectSearcher( _ "SELECT * FROM Win32_Process WHERE Name='mpc-hc.exe'") For Each process As ManagementObject in searcher.Get() Console.WriteLine(process("CommandLine")) Next </code></pre>