command line argument list

Feb 17, 2009 at 11:44 PM
Please inform us what the command line arguments are.  They are missing from the readme and the usage text.

e.g. I've tried 'spmca -disablecontentapproval http://mysite/subsite/documentlibraryname' unsuccessfully

thanks for contributing the utility however!
pritish.
Feb 17, 2009 at 11:49 PM
Usage: (on MOSS WFE server ?)
> spmca [command] -url=[url param]

commands:
-disablecontentapproval
...


url param format:
...


Coordinator
Mar 5, 2009 at 9:50 AM
Hi pjacob,

To run SPMCA the following arugments are allowed:

Required:
-url=[url]

Optional:
-enableversioning     - Enable versioning on all document libraries
-disableversioning    - Disable versioning on all document libraries
-enablecontentapproval    - Enable Content Approval on all document libraries
-disablecontentapproval    - Disable Content Approval on all document libraries
-includesubsites    - Applies settings to sub sites


Example: spmca -enableversioning -url=http://sharepointsever

Regards,

Daniel
Marked as answer by DanielBrownAU on 5/27/2015 at 8:44 PM