Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I List Open Sessions and Open Files on a Computer?

  Hey, Scripting Guy! Is there a way to export the information found in the Shared Folders portion of the Computer Management snap-in (in particular, the list of sessions and the list of open files)?-- PP Hey, PP. Funny you should ask; this very issue came up the other day, and while we assumed that there was a way to get at this ...