How to send a pop up message from a Mac to Windows on same network?
Run the following command, then enter your message and press ⌃D to finish and send.

smbclient -M NETBIOSNAME -U FROMNAME


-U FROMNAME is optional