2

On modern Windows systems, Get-SMBOpenFile | select path,clientcomputername,clientusername will do the trick for this. You'll get the local filepath, client computer's IP or hostname, and the AD user who has the file open.


Only top voted, non community-wiki answers of a minimum length are eligible