Platform SDK: Exchange Server

GWINST: Installing a Mail-Gateway Object

This program installs the Mail-Gateway object in the Microsoft Exchange Server directory. To run GWINST, type the following at the command prompt:

GWINST 
  /SITEDN=<site distinguished name> 
  /DISPLAY_NAME=<gateway display name> 
  /NAME=<gateway name> 
  /ADDRTYPE=<address type> 
  /SERVER=<server computer name> 
 [/EXTNAME=<extension name>]  
 [/EXTDATA=<extension data>] 
 [/ACCOUNT=<account name>]  
 [/PRESERVE_DNS=<preserve>]  
 [/DELETE] 
 [/HELP or /?]

GWINST Parameters

Parameter Description
SITEDN Gateway site distinguished name.
DISPLAY_NAME Gateway display name. This name will be displayed in the directory.
NAME Gateway name.
ADDRTYPE Address type.
SERVER Server computer name.
EXTNAME Administrator extension name.
EXTDATA Absolute path and file name for the extension data. (Use CFGCODE to create this file.)
ACCOUNT Account name.
PRESERVE_DNS Indicates whether this gateway can preserve distinguished names. (Valid values are YES and NO.)
DELETE Deletes the gateway.
HELP or ? Displays Help information.

An example of calling this program is:

GWINST /SITEDN=/o=Microsoft/ou=APPS-WGA 
/DISPLAY_NAME=samplgw /NAME=gw1 
/ADDRTYPE=edk /SERVER=server1 
/EXTNAME=sgwadmin /EXTDATA=c:\bin\sgwadmin.dat