which doesn’t seem to work! i.e No output or error msg!So it just hangs or what? You need to find out where it's failing (print print print print).
Permissions may play a role ...
UPDATE: is LoggedOnUsers failing or is it hanging? You're not doing proper error checking (When a function fails call Win32::NetAdmin::GetError() rather than GetLastError() or $^E to retrieve the error code.)
In reply to Re: Finding out who has logged on remotely!
by PodMaster
in thread Finding out who has logged on remotely!
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |