win32net.NetMessageNameAdd

NetMessageNameAdd(server, msgname)

Adds a message alias for specified machine

Parameters

server : str/unicode

Name of server on which to execute - leading backslashes required on NT - local machine used if None

msgname : str/unicode

Message alias to add, 15 characters max