Resource Monitor

Glenn Maxwell 13,141 Reputation points
2022-07-20T20:46:24.183+00:00

Hi All

When i login to Resource Monitor on one of my server, I can see Network Tab.
Under Network Tab i can see TCP connections, Listening Ports,Network Activty. is it possible to export those to a text file or csv file. if so please guide me with the syntax.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Andreas Baumgarten 129.5K Reputation points MVP Volunteer Moderator
    2022-07-20T21:06:34.257+00:00

    Hi @Glenn Maxwell ,

    there is no export or save option in the Ressource Manager.
    But you can mark all list rows you want in your txt file and press Strg + C to copy the data in the clipboard.
    Go to Notepad (or whatever editor you prefer) and Paste ( Strg+V ) the content of the clipboard.

    I don't see any other option.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Limitless Technology 40,081 Reputation points
    2022-07-22T07:53:22.447+00:00

    Hi there,

    Just replace .exe with any processes name to export the data.

    $name = ".exe"
    $processHandle = (Get-CimInstance Win32_Process -Filter "Name = '$name'").ProcessId
    $Threads = Get-CimInstance -Class Win32_Thread -Filter "ProcessHandle = $processHandle"
    $threads | Select-Object priority, thread*, UserTime, kernelTime |
    Out-GridView -Title "The $name process has $($threads.count) threads"

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    ---------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. Glenn Maxwell 13,141 Reputation points
    2022-07-26T04:31:52.99+00:00

    i have just tested with fiefox.exe i am getting the below error

    $name = "firefox.exe"
    $processHandle = (Get-CimInstance Win32_Process -Filter "Name = '$name'").ProcessId
    $Threads = Get-CimInstance -Class Win32_Thread -Filter "ProcessHandle = $processHandle"
    $threads | Select-Object priority, thread*, UserTime, kernelTime |
    Out-GridView -Title "The $name process has $($threads.count) threads"
    Get-CimInstance : Invalid query
    At line:3 char:12

    • $Threads = Get-CimInstance -Class Win32_Thread -Filter "ProcessHandle ...
    • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidArgument: (:) [Get-CimInstance], CimException
    • FullyQualifiedErrorId : HRESULT 0x80041017,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand
    0 comments No comments

Your answer

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