Powershell command to view open files on server?

Hemps

Honorary Master
Joined
Jan 19, 2009
Messages
11,661
Reaction score
1,631
Location
Slummies
I have this powershell command that I can run locally on the Server and it shows a gui, just what I need.

Get-SmbOpenFile|select ClientUserName,ClientComputerName,Path| Out-GridView -PassThru -title "Select Open Files"|Close-SmbOpenFile -Confirm:$false -Verbose

How do I run this command from another computer to view files open on our Server 2019 server, I want it for our managers to check what staff are busy with but in nice interface they can see on their side?

Openfiles command works but not appealing to view.
 
Top
Sign up to the MyBroadband newsletter
X