UserCount Utility version 1.0
Copyright 2004 - Ipswitch, Inc.

Files:
usercount.exe
readme.txt

Summary:
UserCount is a command-line utility which when run from the IMail server will report the number of users that exist within each domain as well as the total number of users on the server.

Syntax:
>usercount
OR
>usercount > %path%

If no path is specified, UserCount will print the results to STDOUT.  If specified, %path% should be a full path to a filename and must include a drive letter.  (C:\IMail\usercount.txt, for example.)  UserCount will create the file for you if does not already exist, but cannot create the path.  If the path name contains spaces, enclose the entire path in double quotes (").

Arguments:
none

Usage:
The output printed by UserCount will be:

OfficialHostName - X Users
Total Users - Y Users

Each domain on the server will have an OfficialHostName entry and the user count for that domain will be printed as 'X'.
The values for each domain's user count will then be totalled and listed as 'Y'.
