title: How to get Command Line info for a process in PowerShell or C#
body: <p>e.g: if I run <code>notepad.exe c:\autoexec.bat</code>,</p>
  
  <p>How can I get <code>c:\autoexec.bat</code> in <code>Get-Process notepad</code> in PowerShell?</p>
  
  <p>Or how can I get <code>c:\autoexec.bat</code> in <code>Process.GetProcessesByName("notepad");</code> in C#?</p>