Determine Users Accessing a Shared Folder Using PowerShell
Posted
by MagicAndi
on Server Fault
See other posts from Server Fault
or by MagicAndi
Published on 2009-11-25T09:50:17Z
Indexed on
2010/03/18
15:01 UTC
Read the original article
Hit count: 454
Hi,
I need to determine the users/sessions accessing a shared folder on a Windows XP (SP2) machine using a PowerShell script (v 1.0). This is the information displayed using Computer Management | System Tools | Shared Folders | Sessions. Can anyone give me pointers on how to go about this?
I'm guessing it will require a WMI query, but my initial search online didn't reveal what the query details will be.
Thanks, MagicAndi
© Server Fault or respective owner