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 Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,569 questions
Windows Performance Toolkit
Windows Performance Toolkit
A collection of Microsoft performance monitoring tools that produce in-depth performance profiles of Windows operating systems and applications.
97 questions
Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,121 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarnegieJ 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