can get info from local host or remote machine( need acces permission.)
Get-WmiObject Win32_Process -ComputerName localhost -Filter "Name like 'notepad%'" | Format-List -Property ProcessName, Path, CommandLine, WorkingSetSize
ProcessName : notepad.exe
Path : C:\Windows\system32\notepad.exe
CommandLine : "C:\Windows\system32\notepad.exe" abc.ext
WorkingSetSize : 8519680