Sending a Message to Windows Workstation
You can use utility smbclient (part of samba server) to send a message to windows system from FreeBSD. This command lets you send messages to windows workstations, display browse lists, and connect to SMB shares. Genral syntax of to send a message is as follows:
smbclient -M
< Message
Message
…
..
…
When the message is complete, press Control-D.
1) To send a message “Meeting cancelled” to windows system called xp1
$ smbclient -M xp1 <
See you at home in 2 hrs.
–Funtoosh
EOF
2) With –U you can specify the username.
$ smbclient -M xp1 -U Funtoosh <
See you at home in 2 hrs.
EOF
Read man page of smbclient for more information.

























