Using Command-Line Tools

Applies To: Windows Server 2003, Windows Server 2003 with SP1

FrontPage 2002 Server Extensions provides two new tools for command-line administration:

  • Owsadm.exe. Administers FrontPage 2002 Server Extensions from the local server. You must have administrative credentials on the local server to use this tool.

  • Owsrmadm.exe. Administers FrontPage 2002 Server Extensions from a remote computer. The Web server must be running before you can use this tool. You must have administrative credentials on the server to use this tool. In addition, you must have a copy of the tool on your local computer, which must be running Windows.

When you run Owsadm.exe, you supply an operation and a set of command-line parameters in the following form:

-operation CommandName -parameter value

Each parameter for the command line also has a short form that you can use instead of the full parameter name. For example, you can use the following command to add a specified user to the Web site on port 80:

Owsadm.exe -o users -c add -u username -p 80

To configure settings for an extended Web site (FrontPage virtual server) from the command line, use the SetProperty parameter with Owsadm.exe or Owsrmadm.exe. You can set authoring, performance tuning, client scripting, mail settings, and security settings properties by using the command line. For example, to turn on authoring for an extended Web site at port 1088, configure the Authoring property by using the following command:

Owsadm.exe -o setproperty -p 1088 -pn Authoring -pv enabled

For more information about using these command-line tools to extend and administer sites, including links to command-line parameters, operations, and properties, see "Command-line Administration" in the SharePoint Team Services Administrator's Guide. For more information about using FrontPage 2002 Server Extensions with IIS 6.0 and for additional links to FrontPage-related Web sites, see Using FrontPage Server Extensions to Extend Web Sites.