PROFINST /SERVICE=MB1 /NAME=MB1 /TYPE=AGENT
In this example, a profile is created for a mailbox agent called MB1. The value of /SERVICE is the name assigned when the mailbox agent service was installed. The value for /NAME can be the Display-Name of the server application's directory object, or any name you choose.
PROFINST /SERVICE=GW1 /NAME=GW1 /TYPE=GATEWAY
If the mailbox agent is to use an extension DLL, create a directory and copy the extension DLL into the directory. Install the DLL using the EXTNINST sample application. See EXTNINST: Installing an Administrator Extension.