smbclient -M Rechnername
nachricht tippen und mit Tastenkombination STRG + D beenden
echo "Nachrichtentext" | smbclient -M host