2.2 The Net Send command syntax
In windows server 2012 : msg * In 5 minutes the server will be restarted
The Net Send command has the following syntax:
net send {username | * | /domain[:domainname] | /users} message
where
username – user name, computer name, or messaging name to which you want to send the message;
* – sends the message to all names in your domain or workgroup;
/domain[:domainname] – sends the message to all names in the computer’s domain or in the specified domain;
/users – sends the message to all users connected to the server;
message – specifies text of the message.
