Msg Command In Windows Server 2008
In this article I am going to explain about Msg command in Windows Server 2008 operating system and also explain it's related syntax.
Introduction
Msg command-line tool is used to send pop-up message to other users.
Syntax
msg {<UserName> | <SessionName> | <SessionID>| @<FileName> | *} [/server:<ServerName>] [/time:<Seconds>] [/v] [/w] [<Message>]
|
Msg Command Options
Parameter |
Description |
<Username> |
Identifies the specified username that you want to receive the message. |
<SessionName> |
Identifies the name of the session. |
<SessionID> |
The ID value of the session. |
@<Filename> |
Identifies a file containing a list of usernames, sessionnames or sessionids to send the message to. |
* |
Sends the message to all user names on specified server. |
/server:<Server Name> |
Specifies the server whose session or user you want to receive the message. If this parameter is not specified then the server on which user is currently logged on. |
/time:<Seconds> |
Specifies time delay that the message you sent is displayed on the user's screen. |
/v |
Display detailed information about the actions being performed. |
/w |
Wait for response from the target user that the message has been received. |
<Message> |
Specifies message that you want to send. |
Example
Send a message titled "Meeting in 10 minutes" to all sessions for user Neil.
msg Neil Meeting in 10 minutes
|
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here