[Samba] Winpopup to Every PC

Mike Brodbelt m.brodbelt at acu.ac.uk
Fri May 23 16:25:25 GMT 2003


Robert Adkins wrote:
> Hello All,
> 
> 	Does anyone know how one could send the same Winpopup message to all
> Win-clients on a network?

When I need to so this, I use:-

for i in `smbstatus -b | tail +5 | awk '{print $3}'`; do
echo "Your machine will self-destruct in 10 seconds" | smbclient -M $i
done

You can use the -U switch to smbclient to set a name in the popup, too.

HTH,

Mike.




More information about the samba mailing list