Windows: Sending a message to user on a remote Windows computer
Microsoft removed netsend from Windows after Windows XP.
Here is the command to send message to another PC from the command line.
MSG remoteusersusername /SERVER:computername Hello your PC is going to shutdown in 10 seconds!!!