title: Monitor shared file access using PowerShell
body: <p><strong>Background</strong></p>
  
  <p>Using Windows' MMC's Shared Folders functionality I'm able to view any Open Files being accessed via shared folders.
  This gives me a static view; I'd like to write a script (ideally PowerShell) to monitor this share and log the information of who connects to what &amp; when to file.</p>
  
  <p>I'm running Windows Server 2008 R2, so sadly <code>Get-SmbOpenFile</code> isn't available.</p>
  
  <p><strong>Question</strong></p>
  
  <p>Is there a way to view all files open over a share in Windows 2008 R2 using PowerShell?</p>