Get open files remote server

Get open files remote server

Hello,

To get open files on a remote server, you can RDP into it and use the GUI :

Get open files remote server – GUI

OpenFilesGUI

Get open files remote server – PowerShell

Or, use PowerShell :

openfiles /Query /S 2K12R2 /FO CSV /V | ConvertFrom-Csv | Out-GridView
Get open files remote server - PowerShell

Get open files remote server – PowerShell

Replace 2K12R2 with your server name.

0 thoughts on “Get open files remote server

  1. Pingback: Get open files on a remote server with powershell - Savage Nomads

  2. Tested on a Windows 2012 R2 and a Windows 7
    I would say :
    openfiles /Query /S 127.0.0.1 /FO CSV /V | select -Skip 8 | ConvertFrom-Csv | Out-GridView

    the | select -Skip 8 will allow to remove the 8 first lines of the unwanted results I get witch is :

    \”
    INFO: The system global flag \’maintain objects list\’ needs
    to be enabled to see local opened files.
    See Openfiles /? for more information.

    Files opened remotely via local share points:
    ———————————————
    \”

    Thanks – this command is quite useful 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.