Glenn not only did you teach me somthing but you made me hungry for blueberries and pie and made me laugh so hard great analogy!
I appreicate you knowledge...
;)I wanted something simple and effective and done from centralized location. I didnt want to run scripts on each pc which I could.
and the users change throughout the day so logon script wouldnt work.
Below is my program in crude form once I got the data was going to print on the fly this:
Location 4th ave
pcname user
pcname user
Location 8th street
pcname user
pcname user
Break On
$Branch = "PC1", "PC2", "PC3"
For each $Element in $Branch
shell "cmd.exe /c psloggedon -l -x \\$Element > find.txt "
shell "cmd.exe /c findstr /c:BULLSEYE\ find.txt >> findlist.txt"
Next
shell "cmd.exe /c type findlist.txt"
sleep 30
Edited by itdaddy (2009-07-31 04:12 PM)
_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin