how to run ProcMon on Windows Core edition (CMD or Powershell)

Basel Al Sayeh - ITG 0 Reputation points
2023-02-20T14:01:02.1733333+00:00

Hello,

I'm planning to monitor a process by ProcMon, and I need the output to be on the shell not on the GUI. any clue how can I run it using a CMD or PowerShell command?

Windows development | Windows Performance Toolkit
Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,245 questions
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Carnegie Johnson 76 Reputation points
    2023-02-20T16:28:15.1266667+00:00

    Hi @Basel Al Sayeh - ITG ,

    View the Process Monitor Usage at the command line via:

    Procmon /?
    

    For example, to capture the for five minutes and output to specified file path:

    Procmon /OpenLog <Logfile.PML> /Runtime 300 /Minimized /Quiet /SaveAs <filepath>
    

    Cheers,
    Carnegie

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.