I'd like to have a script that can both display the number of users that are currently connected to a share (eg. when you disconnect a file share and it comes up with a message along the lines of "are you sure - there are currently 3 users connected"
and then I'd like to be able to list the usernames.
Is this possible? I've been having a look round, but no joy.
Any guidance would be much appreciated.
Cheers.
Is this possible? I've been having a look round, but no joy.
Any guidance would be much appreciated.
Cheers.