13.2. STSADM.EXE Inline Help

To get the list of operations that are available, use the following command:

STSADM.exe -help or STSADM.exe -?

You may want to pipe the results to a text file as the results zoom by too quickly on screen. The following command would put the list of STSADM operations in a file called stsadm.txt on the root of the C: drive. You could then open the text file with any text editor.

STSADM.exe -help >c: stsadm.txt

Another option is to use the |more pipe to show only the first screen of the results and give you options to view the remaining text either one line or one screen at a time. Use the following command to use more:

STSADM.EXE -help |more

The output appears in Figure 13.1.

Figure 13.1. Using the more pipe with ...

Get Mastering Windows® SharePoint® Services 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.