stsadm complete help reference
stsadm.exe -o activatefeature
{-filename <relative path to Feature.xml> |
-name <feature folder> |
-id <feature Id>}
[-url <url>]
[-force]
stsadm -o activateformtemplate
-url <URL to the site collection>
[-formid <form template ID>]
[-filename <path to form template file>]
stsadm.exe -o addalternatedomain
-url <protocol://existing.WebApplication.URLdomain>
-incomingurl <protocol://incoming.url.domain>
-urlzone <default, extranet, internet, intranet, custom>
or
stsadm.exe -o addalternatedomain
-resourcename <non-web application resource name>
-incomingurl <protocol://incoming.url.domain>
-urlzone <default, extranet, internet, intranet, custom>
stsadm.exe -o addcontentdb
-url <url>
-databasename <database name>
[-databaseserver <database server name>]
[-databaseuser <database username>]
[-databasepassword <database password>]
[-sitewarning <site warning count>]
[-sitemax <site max count>]
[-assignnewdatabaseid]
[-clearchangelog]
[-forcedeletelock]
[-preserveolduserexperience <true|false>]
stsadm -o adddataconnectionfile
-filename <path to file to add>
[-webaccessible <bool>]
[-overwrite <bool>]
[-category <bool>]
stsadm -o add-ecsfiletrustedlocation
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o add-ecssafedataprovider
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o add-ecstrusteddataconnectionlibrary
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o add-ecsuserdefinedfunction
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o addexemptuseragent
-name <user-agent to receive InfoPath files instead of a Web page>
stsadm.exe -o addpath
-url <url>
-type <explicitinclusion/wildcardinclusion>
stsadm.exe -o addpermissionpolicy
-url <url>
-userlogin <login name>
-permissionlevel <permission policy level>
[-zone <URL zone>]
[-username <display name>]
stsadm.exe -o addsolution
-filename <Solution filename>
[-lcid <language>]
stsadm.exe -o addtemplate
-filename <template filename>
-title <template title>
[-description <template description>]
stsadm.exe -o adduser
-url <url>
-userlogin <DOMAIN\user>
-useremail <someone@example.com>
-role <role name> / -group <group name>
-username <display name>
[-siteadmin]
stsadm.exe -o addwppack
-filename <Web Part Package filename>
[-lcid <language>]
[-url <url>]
[-allowfulltrustbindlls]
[-globalinstall]
[-force]
[-nodeploy]
stsadm.exe -o addwppack
-name <name of Web Part Package>
[-lcid <language>]
[-url <url>]
[-allowfulltrustbindlls]
[-globalinstall]
[-force]
stsadm.exe -o addzoneurl
-url <protocol://existing.WebApplication.URLdomain>
-urlzone <default, extranet, internet, intranet, custom>
-zonemappedurl <protocol://outgoing.url.domain>
[-redirectionurl <protocol://redirect.url.domain> ]
or
stsadm.exe -o addzoneurl
-resourcename <non-web application resource name>
-urlzone <default, extranet, internet, intranet, custom>
-zonemappedurl <protocol://outgoing.url.domain>
[-redirectionurl <protocol://redirect.url.domain> ]
stsadm -o allowuserformwebserviceproxy
-url <Url of the web application>
-enable <true to enable, false to disable>
stsadm -o allowwebserviceproxy
-url <Url of the web application>
-enable <true to enable, false to disable>
stsadm.exe -o authentication
-url <url>
-type <windows/forms/websso>
[-usebasic (valid only in windows authentication mode)]
[-usewindowsintegrated (valid only in windows authentication mode)]
[-exclusivelyusentlm (valid only in windows authentication mode)]
[-membershipprovider <membership provider name>]
[-rolemanager <role manager name>]
[-enableclientintegration]
[-allowanonymous]
For site collection backup:
stsadm.exe -o backup
-url <url>
-filename <filename>
[-overwrite]
[-nositelock]
[-usesqlsnapshot]
For catastrophic backup:
stsadm.exe -o backup
-directory <UNC path>
-backupmethod <full | differential>
[-item <created path from tree>]
[-percentage <integer between 1 and 100>]
[-backupthreads <integer between 1 and 10>]
[-showtree]
[-configurationonly]
[-quiet]
[-force]
stsadm.exe -o backuphistory
-directory <UNC path>
[-backup]
[-restore]
stsadm.exe -o binddrservice
-servicename <data retrieval service name>
-setting <data retrieval services setting>
stsadm.exe -o blockedfilelist
-extension <extension>
-add
[-url <url>]
stsadm.exe -o blockedfilelist
-extension <extension>
-delete
[-url <url>]
stsadm.exe -o canceldeployment
-id <id>
stsadm.exe -o changepermissionpolicy
-url <url>
-userlogin <DOMAIN\name>
[-zone <URL zone>]
[-username <display name>]
[{ -add | -delete }
-permissionlevel <permission policy level>]
stsadm.exe -o copyappbincontent
stsadm.exe -o createadminvs
[-admapidname <app pool name>]
[-admapidtype <configurableid/NetworkService>]
[-admapidlogin <DOMAIN\name>]
[-admapidpwd <app pool password>]
stsadm.exe -o creategroup
-url <url>
-name <group name>
-description <description>
-ownerlogin <DOMAIN\name or group name>
[-type member|visitor|owner]
stsadm.exe -o createsite
-url <url>
-owneremail <someone@example.com>
[-ownerlogin <DOMAIN\name>]
[-ownername <display name>]
[-secondaryemail <someone@example.com>]
[-secondarylogin <DOMAIN\name>]
[-secondaryname <display name>]
[-lcid <language>]
[-sitetemplate <site template>]
[-title <site title>]
[-description <site description>]
[-hostheaderwebapplicationurl <web application url>]
[-quota <quota template>]
stsadm.exe -o createsiteinnewdb
-url <url>
-owneremail <someone@example.com>
[-ownerlogin <DOMAIN\name>]
[-ownername <display name>]
[-secondaryemail <someone@example.com>]
[-secondarylogin <DOMAIN\name>]
[-secondaryname <display name>]
[-lcid <language>]
[-sitetemplate <site template>]
[-title <site title>]
[-description <site description>]
[-hostheaderwebapplicationurl <web application url>]
[-quota <quota template>]
[-databaseuser <database username>]
[-databasepassword <database password>]
[-databaseserver <database server name>]
[-databasename <database name>]
stsadm.exe -o createweb
-url <url>
[-lcid <language>]
[-sitetemplate <site template>]
[-title <site title>]
[-description <site description>]
[-convert]
[-unique]
stsadm.exe -o databaserepair
-url <url>
-databasename <database name>
[-deletecorruption]
stsadm.exe -o deactivatefeature
{-filename <relative path to Feature.xml> |
-name <feature folder> |
-id <feature Id>}
[-url <url>]
[-force]
stsadm -o deactivateformtemplate
-url <URL to the site collection>
[-formid <form template ID>]
[-filename <path to form template file>]
stsadm.exe -o deleteadminvs
stsadm.exe -o deletealternatedomain
-url <ignored>
-incomingurl <protocol://incoming.url.domain>
stsadm.exe -o deleteconfigdb
stsadm.exe -o deletecontentdb
-url <url>
-databasename <database name>
[-databaseserver <database server name>]
stsadm.exe -o deletegroup
-url <url>
-name <group name>
stsadm.exe -o deletepath
-url <url>
stsadm.exe -o deletepermissionpolicy
-url <url>
-userlogin <login name>
[-zone <URL zone>]
stsadm.exe -o deletesite
[-url <url>
-deleteadaccounts <true/false>]
[-force
-siteid <site id>
-databasename <database name>
-databaseserver <database server name>]
[-gradualdelete]
[-deleteformigration]
stsadm.exe -o deletesolution
-name <Solution name>
[-override]
[-lcid <language>]
stsadm.exe -o deletetemplate
-title <template title>
[-lcid <language>]
stsadm.exe -o deleteuser
-url <url>
-userlogin <DOMAIN\name>
[-group <group>]
stsadm.exe -o deleteweb
[-url <url>]
[-recycle
[-force
-webid <web id>
-databasename <database name>
-databaseserver <database server name>]
stsadm.exe -o deletewppack
-name <name of Web Part Package>
[-lcid <language>]
[-url <url>]
stsadm.exe -o deletezoneurl
-url <protocol://existing.WebApplication.URLdomain>
-urlzone <default, extranet, internet, intranet, custom>
or
stsadm.exe -o deletezoneurl
-resourcename <non-web application resource name>
-urlzone <default, extranet, internet, intranet, custom>
stsadm.exe -o deploysolution
-name <Solution name>
[-url <virtual server url>]
[-allcontenturls]
[-time <time to deploy at>]
[-immediate]
[-local]
[-allowgacdeployment]
[-allowfulltrustbindlls]
[-allowcaspolicies]
[-lcid <language>]
[-force]
stsadm.exe -o deploywppack
-name <Web Part Package name>
[-url <virtual server url>]
[-time <time to deploy at>]
[-immediate]
[-local]
[-lcid <language>]
[-allowfulltrustbindlls]
[-globalinstall]
[-force]
stsadm.exe -o disablessc
-url <url>
stsadm.exe -o displaysolution
-name <Solution name>
stsadm -o editcontentdeploymentpath
-pathname <path name>
[-keeptemporaryfiles Never|Always|Failure]
[-enableeventreceivers yes|no]
[-enablecompression yes|no]
stsadm.exe -o email
-outsmtpserver <SMTP server>
-fromaddress <someone@example.com>
-replytoaddress <someone@example.com>
-codepage <codepage>
[-url <url>]
stsadm.exe -o enablessc
-url <url>
[-requiresecondarycontact]
stsadm.exe -o enumallwebs
[ -databasename <database name>]
[ -databaseserver <database server name>]
[ -includefeatures ]
[ -includesetupfiles ]
[ -includewebparts ]
[ -includeeventreceivers ]
[ -includecustomlistview ]
stsadm.exe -o enumalternatedomains
[ -url <protocol://existing.WebApplication.URLdomain> |
-resourcename <non-web application resource name>]
stsadm.exe -o enumcontentdbs
-url <url>
stsadm -o enumdataconnectionfiledependants
-filename <filename for which to enumerate dependants>
stsadm -o enumdataconnectionfiles
[-mode <a | u | all | unreferenced>]
stsadm.exe -o enumdeployments
stsadm -o enumexemptuseragents
stsadm -o enumformtemplates
stsadm.exe -o enumgroups
-url <url>
stsadm.exe -o enumroles
-url <url>
stsadm.exe -o enumservices
stsadm.exe -o enumsites
-url <virtual server url>
[-showlocks]
[-databasename <database name>]
stsadm.exe -o enumsolutions
stsadm.exe -o enumsubwebs
-url <url>
stsadm.exe -o enumtemplates
[-lcid <language>]
stsadm.exe -o enumusers
-url <url>
stsadm.exe -o enumwppacks
[-name <name of Web Part Package>]
[-url <virtual server url>]
[-farm]
stsadm.exe -o enumzoneurls
-url <protocol://existing.WebApplication.URLdomain>
-resourcename <non-web application resource name>
stsadm.exe -o execadmsvcjobs
stsadm.exe -o export
-url <URL to be exported>
-filename <export file name>
[-overwrite]
[-includeusersecurity]
[-haltonwarning]
[-haltonfatalerror]
[-nologfile]
[-versions <1-4>
1 - Last major version for files and list items (default)
2 - The current version, either the last major or the last minor
3 - Last major and last minor version for files and list items
4 - All versions for files and list items]
[-cabsize <integer from 1-1024 megabytes> (default: 24)]
[-nofilecompression]
[-quiet]
[-usesqlsnapshot]
stsadm -o exportipfsadminobjects
-filename <path to file>
stsadm.exe -o extendvs
-url <url>
-ownerlogin <domain\name>
-owneremail <someone@example.com>
-apidname <app pool name>
-apidtype <configurableid/NetworkService>
-apidlogin <DOMAIN\name>
-apidpwd <app pool password>
[-exclusivelyusentlm]
[-ownername <display name>]
[-databaseuser <database user>]
[-databaseserver <database server>]
[-databasename <database name>]
[-databasepassword <database user password>]
[-lcid <language>]
[-sitetemplate <site template>]
[-donotcreatesite]
[-description <iis web site name>]
[-sethostheader]
[-allowanonymous]
stsadm.exe -o extendvsinwebfarm
-url <url>
-vsname <web application name>
[-exclusivelyusentlm]
[-apidname <app pool name>]
[-apidtype <configurableid/NetworkService>]
[-apidlogin <DOMAIN\name>]
[-apidpwd <app pool password>]
[-allowanonymous]
stsadm.exe -o forcedeletelist
-url <url>
stsadm -o formtemplatequiescestatus
[-formid <form template ID>]
[-filename <path to form template file>]
stsadm.exe -o getadminport
stsadm -o getdataconnectionfileproperty
-filename <filename of the data connection file>
-pn <property name>
stsadm -o getformsserviceproperty
-pn <option name>
stsadm -o getformtemplateproperty
[-formid <form template ID>]
[-filename <path to form template file>]
-pn <property name>
stsadm.exe -o getproperty
-propertyname <property name>
[-url <url>]
SharePoint cluster properties:
avallowdownload
avcleaningenabled
avdownloadscanenabled
avnumberofthreads
avtimeout
avuploadscanenabled
database-command-timeout
database-connection-timeout
data-retrieval-services-enabled
data-retrieval-services-oledb-providers
data-retrieval-services-response-size
data-retrieval-services-timeout
data-retrieval-services-update
data-source-controls-enabled
dead-site-auto-delete
dead-site-notify-after
dead-site-num-notifications
delete-web-send-email
irmaddinsenabled
irmrmscertserver
irmrmsenabled
irmrmsusead
job-ceip-datacollection
job-config-refresh
job-dead-site-delete
large-file-chunk-size
token-timeout
workflow-cpu-throttle
workflow-eventdelivery-batchsize
workflow-eventdelivery-throttle
workflow-eventdelivery-timeout
workflow-timerjob-cpu-throttle
workitem-eventdelivery-batchsize
workitem-eventdelivery-throttle
SharePoint virtual server properties:
alerts-enabled
alerts-limited
alerts-maximum
change-log-expiration-enabled
change-log-retention-period
clientcallablesettings-enablestacktrace
clientcallablesettings-maxobjectpaths
clientcallablesettings-maxresourceperrequest
data-retrieval-services-enabled
data-retrieval-services-inherit
data-retrieval-services-oledb-providers
data-retrieval-services-response-size
data-retrieval-services-timeout
data-retrieval-services-update
data-source-controls-enabled
days-to-show-new-icon
dead-site-auto-delete
dead-site-notify-after
dead-site-num-notifications
defaultquotatemplate
defaulttimezone
delete-web-send-email
event-log-retention-period
job-audit-log-trimming
job-change-log-expiration
job-dead-site-delete
job-diskquota-warning
job-immediate-alerts
job-recycle-bin-cleanup
job-solution-daily-resource-usage
job-solution-resource-usage-log
job-spapp-statequery
job-storage-metrics-processing
job-upgrade-workitems
job-workflow
job-workflow-autoclean
job-workflow-failover
max-file-post-size
peoplepicker-activedirectorysearchtimeout
peoplepicker-distributionlistsearchdomains
peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode
peoplepicker-onlysearchwithinsitecollection
peoplepicker-peopleeditoronlyresolvewithinsitecollection
peoplepicker-searchadcustomfilter
peoplepicker-searchadcustomquery
peoplepicker-searchadforests
peoplepicker-serviceaccountdirectorypaths
presenceenabled
query-maximumresult
recycle-bin-cleanup-enabled
recycle-bin-enabled
recycle-bin-retention-period
second-stage-recycle-bin-quota
send-ad-email
stsadm -o getsitedirectoryscanschedule
stsadm.exe -o getsitelock
-url <url>
stsadm.exe -o getsiteuseraccountdirectorypath
-url <url>
stsadm.exe -o geturlzone
-url <protocol://incoming.url.domain>
stsadm.exe -o import
-url <URL to import to>
-filename <import file name>
[-includeusersecurity]
[-haltonwarning]
[-haltonfatalerror]
[-activatesolutions]
[-nologfile]
[-updateversions <1-3>
1 - Add new versions to the current file (default)
2 - Overwrite the file and all its versions (delete then insert)
3 - Ignore the file if it exists on the destination]
[-includeusercustomaction <1-2>
1 - Ignore user custom actions
2 - Include user custom actions (default)]
[-nofilecompression]
[-quiet]
stsadm.exe -o installfeature
{-filename <relative path to Feature.xml from system feature directory> |
-name <feature folder>}
[-force]
stsadm.exe -o listlogginglevels
[-showhidden]
stsadm -o listregisteredsecuritytrimmers
-ssp <search application name>
This command displays a hierarchy and the upgrade status of objects in this farm in the order by which they will be upgraded.
stsadm.exe -o managepermissionpolicylevel
-url <url>
-name <permission policy level name>
[{ -add | -delete }]
[-description <description>]
[-siteadmin <true | false>]
[-siteauditor <true | false>]
[-grantpermissions <comma-separated list of permissions>]
[-denypermissions <comma-separated list of permissions>]
stsadm.exe -o mergecontentdbs
-url <url>
-sourcedatabasename <source database name>
-destinationdatabasename <destination datbabase name>
[-operation <1-3>
1 - Analyze (default)
2 - Full Database Merge
3 - Read from file]
[-filename <file generated from stsadm -o enumsites>]
See also:
stsadm -o enumcontentdbs -url <url>
stsadm -o enumsites -url <url> -databasename <database>
stsadm.exe -o mergejsstrings -lcid <lcid>
stsadm.exe -o mergejsstrings -alllcids
stsadm.exe -o mergejsstrings
stsadm.exe -o migrategroup
-oldlogin <DOMAIN\name>
-newlogin <DOMAIN\name>
stsadm.exe -o migrateuser
-oldlogin <DOMAIN\name>
-newlogin <DOMAIN\name>
[-ignoresidhistory]
stsadm.exe -o monitordb -url <url> [-operation enable/disable]
stsadm -o osearch
[-action <list|start|stop>] required parameters for 'start' (if not
already set): farmcontactemail, service credentials
[-f (suppress prompts)]
[-farmcontactemail <email>]
[-farmperformancelevel <Reduced|PartlyReduced|Maximum>]
[-farmserviceaccount <DOMAIN\name> (service credentials)]
[-farmservicepassword <password>]
[-defaultindexlocation <directory>]
[-propagationlocation <directory>]
stsadm -o osearchdiacriticsensitive
-searchapp <search application name>
[-setstatus <True|False>]
[-noreset]
[-force]
stsadm.exe -o patchpostaction
stsadm -o profilechangelog
-userprofileapplication <UserProfileApplication Name> -daysofhistory <number of days> -generateanniversaries
stsadm -o profiledeletehandler
-type <Full Assembly Path>
stsadm.exe -o provisionservice
-action <start/stop>
-servicetype <servicetype (namespace or assembly qualified name if not SharePoint service)>
[-servicename <servicename>]
stsadm -o quiescefarm
-maxduration <duration in minutes>
stsadm -o quiescefarmstatus
stsadm -o quiesceformtemplate
[-formid <form template ID>]
[-filename <path to form template file>]
-maxduration <time in minutes>
stsadm -o reconvertallformtemplates
stsadm.exe -o refreshdms
-url <url>
stsadm.exe -o refreshsitedms
-url <url>
stsadm.exe -o refreshsitemap
-url <url>
-databasename <database name>
[-databaseserver <database server name>]
stsadm -o registersecuritytrimmer
-ssp <search application name>
-id <0 - 2147483647>
-typename <assembly qualified TypeName of ISecurityTrimmer2 implementation>
-rulepath <crawl rule URL>
[-configprops <name value pairs delimited by '~'>]
Example:
stsadm -o registersecuritytrimmer -ssp "Search Service Application" -id 0 -typeName "CustomSecurityTrimmerSample.CustomSecurityTrimmer, CustomSecurityTrimmerSample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fb5ca871112471c7" -rulepath file://* -configprops name1~value1~name2~value2
stsadm.exe -o registerwsswriter
stsadm -o removedataconnectionfile
-filename <filename to remove>
stsadm.exe -o removedrservice
-servicename <data retrieval service name>
-setting <data retrieval services setting>
stsadm -o remove-ecsfiletrustedlocation
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o remove-ecssafedataprovider
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o remove-ecstrusteddataconnectionlibrary
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o remove-ecsuserdefinedfunction
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o removeexemptuseragent
-name <user-agent to receive InfoPath files instead of a Web page>
stsadm -o removeformtemplate
[-formid <form template ID>]
[-filename <path to form template file>]
stsadm.exe -o removesolutiondeploymentlock
[-server <server>
[-allservers]
stsadm.exe -o renameserver
-oldservername <oldServerName>
-newservername <newServerName>
stsadm.exe -o renamesite
-oldurl <oldUrl>
-newurl <newUrl>
stsadm.exe -o renameweb
-url <url>
-newname <new subsite name>
For site collection restore:
stsadm.exe -o restore
-url <url>
-filename <filename>
[-hostheaderwebapplicationurl <web application url>]
[-overwrite]
[-gradualdelete]
For catastrophic restore:
stsadm.exe -o restore
-directory <UNC path>
-restoremethod <overwrite | new>
[-backupid <Id from backuphistory, see stsadm -help backuphistory>]
[-item <created path from tree>]
[-percentage <integer between 1 and 100>]
[-restorethreads <integer between 1 and 10>]
[-showtree]
[-suppressprompt]
[-username <username>]
[-password <password>]
[-newdatabaseserver <new database server name>]
[-configurationonly]
[-quiet]
stsadm.exe -o retractsolution
-name <Solution name>
[-url <virtual server url>]
[-allcontenturls]
[-time <time to remove at>]
[-immediate]
[-local]
[-lcid <language>]
stsadm.exe -o retractwppack
-name <Web Part Package name>
[-url <virtual server url>]
[-time <time to retract at>]
[-immediate]
[-local]
[-lcid <language>]
stsadm -o runcontentdeploymentjob
-jobname <name>
[-wait yes|no]
[-deploysincetime <datetime>]
The <datetime> parameter should be in the format "MM/DD/YY HH:MM:SS"
stsadm.exe -o scanforfeatures
[-solutionid <Id of Solution>]
[-displayonly]
stsadm.exe -o setadminport
-port <port>
[-ssl]
[-admapcreatenew]
[-admapidname <app pool name>]
stsadm.exe -o setapppassword
-password <password>
stsadm -o setbulkworkflowtaskprocessingschedule
-schedule <recurrence string>
stsadm.exe -o setconfigdb
[-connect]
-databaseserver <database server>
[-databaseuser <database user>]
[-databasepassword <database user password>]
[-databasename <database name>]
[-exclusivelyusentlm]
[-farmuser]
[-farmpassword]
[-passphrase]
[-adcreation]
[-addomain <Active Directory domain>]
[-adou <Active Directory OU>]
stsadm -o setcontentdeploymentjobschedule
-jobname <name>
-schedule <schedule>
Schedule Parameter Examples:
"every 5 minutes between 0 and 59"
"hourly between 0 and 59"
"daily at 15:00:00"
"weekly between Fri 22:00:00 and Sun 06:00:00"
"monthly at 15 15:00:00"
"yearly at Jan 1 15:00:00"
stsadm -o setdataconnectionfileproperty
-filename <filename of the data connection file>
-pn <property name>
-pv <property value>
stsadm -o set-ecsexternaldata
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o set-ecsloadbalancing
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o set-ecsmemoryutilization
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o set-ecssecurity
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o set-ecssessionmanagement
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o set-ecsworkbookcache
Error. This stsadm command is no longer supported. Use PowerShell to modify Excel Services Application settings from the command line.
stsadm -o setformsserviceproperty
-pn <option name>
-pv <option value>
stsadm -o setformtemplateproperty
[-formid <form template ID>]
[-filename <path to form template file>]
-pn <property name>
-pv <property value>
stsadm -o setholdschedule
-schedule <recurrence string>
stsadm.exe -o setlogginglevel
[-category < [CategoryName | Manager:CategoryName [;...]] >]
{-default |
-tracelevel
< None;
Unexpected;
Monitorable;
High;
Medium;
Verbose;
VerboseEx;
>
[-windowslogginglevel
< None;
ErrorServiceUnavailable;
ErrorSecurityBreach;
ErrorCritical;
Error;
Warning;
FailureAudit;
SuccessAudit;
Information;
Success;
Verbose;
>]
}
stsadm -o setpolicyschedule
-schedule <recurrence string>
stsadm.exe -o setproperty
-propertyname <property name>
-propertyvalue <property value>
[-url <url>]
SharePoint cluster properties:
avallowdownload
avcleaningenabled
avdownloadscanenabled
avnumberofthreads
avtimeout
avuploadscanenabled
database-command-timeout
database-connection-timeout
data-retrieval-services-enabled
data-retrieval-services-oledb-providers
data-retrieval-services-response-size
data-retrieval-services-timeout
data-retrieval-services-update
data-source-controls-enabled
dead-site-auto-delete
dead-site-notify-after
dead-site-num-notifications
delete-web-send-email
irmaddinsenabled
irmrmscertserver
irmrmsenabled
irmrmsusead
job-ceip-datacollection
job-config-refresh
job-dead-site-delete
large-file-chunk-size
token-timeout
workflow-cpu-throttle
workflow-eventdelivery-batchsize
workflow-eventdelivery-throttle
workflow-eventdelivery-timeout
workflow-timerjob-cpu-throttle
workitem-eventdelivery-batchsize
workitem-eventdelivery-throttle
SharePoint virtual server properties:
alerts-enabled
alerts-limited
alerts-maximum
change-log-expiration-enabled
change-log-retention-period
clientcallablesettings-enablestacktrace
clientcallablesettings-maxobjectpaths
clientcallablesettings-maxresourceperrequest
data-retrieval-services-enabled
data-retrieval-services-inherit
data-retrieval-services-oledb-providers
data-retrieval-services-response-size
data-retrieval-services-timeout
data-retrieval-services-update
data-source-controls-enabled
days-to-show-new-icon
dead-site-auto-delete
dead-site-notify-after
dead-site-num-notifications
defaultquotatemplate
defaulttimezone
delete-web-send-email
event-log-retention-period
job-audit-log-trimming
job-change-log-expiration
job-dead-site-delete
job-diskquota-warning
job-immediate-alerts
job-recycle-bin-cleanup
job-solution-daily-resource-usage
job-solution-resource-usage-log
job-spapp-statequery
job-storage-metrics-processing
job-upgrade-workitems
job-workflow
job-workflow-autoclean
job-workflow-failover
max-file-post-size
peoplepicker-activedirectorysearchtimeout
peoplepicker-distributionlistsearchdomains
peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode
peoplepicker-onlysearchwithinsitecollection
peoplepicker-peopleeditoronlyresolvewithinsitecollection
peoplepicker-searchadcustomfilter
peoplepicker-searchadcustomquery
peoplepicker-searchadforests
peoplepicker-serviceaccountdirectorypaths
presenceenabled
query-maximumresult
recycle-bin-cleanup-enabled
recycle-bin-enabled
recycle-bin-retention-period
second-stage-recycle-bin-quota
send-ad-email
stsadm -o setrecordsrepositoryschedule
-schedule <recurrence string>
stsadm -o setsearchandprocessschedule
-schedule <recurrence string>
stsadm -o setsitedirectoryscanschedule
-schedule <recurrence string>
Schedule parameter examples:
"every 5 minutes between 0 and 59"
"hourly between 0 and 59"
"daily at 15:00:00"
"weekly between Fri 22:00:00 and Sun 06:00:00"
"monthly at 15 15:00:00"
"yearly at Jan 1 15:00:00"
stsadm.exe -o setsitelock
-url <url>
-lock <none | noadditions | readonly | noaccess>
stsadm.exe -o setsiteuseraccountdirectorypath
-url <url>
[-path <path>]
stsadm.exe -o setworkflowconfig
-url <url>
{-emailtonopermissionparticipants <enable|disable> |
-externalparticipants <enable|disable> |
-userdefinedworkflows <enable|disable>}
stsadm.exe -o siteowner
-url <url>
[-ownerlogin <DOMAIN\name>]
[-secondarylogin <DOMAIN\name>]
stsadm -o spsearch
[-action <list|start|stop|attachcontentdatabase|detachcontentdatabase|fullcrawlstart|fullcrawlstop>]
[-f (suppress prompts)]
[-farmperformancelevel <Reduced|PartlyReduced|Maximum>]
[-farmserviceaccount <DOMAIN\name> (service credentials)]
[-farmservicepassword <password>]
[-farmcontentaccessaccount <DOMAIN\name>]
[-farmcontentaccesspassword <password>]
[-indexlocation <new index location>]
[-databaseserver <server\instance> (default: SNISQL2012)]
[-databasename <database name> (default: WSS_Search_SP13DEV01)]
[-sqlauthlogin <SQL authenticated database user>]
[-sqlauthpassword <password>]
-action list
-action stop
[-f (suppress prompts)]
-action start
-farmserviceaccount <DOMAIN\name> (service credentials)
[-farmservicepassword <password>]
-action attachcontentdatabase
[-databaseserver <server\instance> (default: SNISQL2012)]
-databasename <content database name>
[-searchserver <search server name> (default: SP13DEV01)]
-action detachcontentdatabase
[-databaseserver <server\instance> (default: SNISQL2012)]
-databasename <content database name>
[-f (suppress prompts)]
-action fullcrawlstart
-action fullcrawlstop
stsadm -o spsearchdiacriticsensitive
[-setstatus <True|False>]
[-noreset]
[-force]
stsadm -o sync
{-ExcludeWebApps <web applications> |
-SyncTiming <schedule(M/H/D:value)> |
-SweepTiming <schedule(M/H/D:value)> |
-ListOldDatabases <days> |
-DeleteOldDatabases <days> |
-IgnoreIsActive <0 or 1>}
stsadm.exe -o syncsolution
-name <Solution name>]
[-lcid <language>]
[-alllcids]
stsadm.exe -o syncsolution
-allsolutions
stsadm.exe -o unextendvs
-url <url>
[-deletecontent]
[-deleteiissites]
stsadm.exe -o uninstallfeature
{-filename <relative path to Feature.xml> |
-name <feature folder> |
-id <feature Id>}
[-force]
stsadm -o unquiescefarm
stsadm -o unquiesceformtemplate
[-formid <form template ID>]
[-filename <path to form template file>]
stsadm -o unregistersecuritytrimmer
-ssp <search application name>
-id <0 - 2147483647>
stsadm.exe -o unregisterwsswriter
stsadm.exe -o updateaccountpassword
-userlogin <DOMAIN\name>
-password <password>
[-noadmin]
stsadm.exe -o updatealerttemplates
-url <url>
[-filename <filename>]
[-lcid <language>
stsadm.exe -o updatefarmcredentials
[-identitytype <configurableid/NetworkService>]
[-userlogin <DOMAIN\name>]
[-password <password>]
[-local [-keyonly]]
stsadm.exe -o updatesqlpassword
[-databaseserver <database server\instance>]
[-userlogin <SQL user name>]
[-password <new password>]
[-local]
stsadm -o upgrade command has been replaced by psconfig.exe -cmd upgrade
stsadm -o upgradeformtemplate
-filename <path to form template file>
[-upgradetype <upgrade type>]
stsadm.exe -o upgradesolution
-name <Solution name>
[-filename <upgrade filename>]
[-time <time to upgrade at>]
[-immediate]
[-local]
[-allowgacdeployment]
[-allowfulltrustbindlls]
[-allowcaspolicies]
[-lcid <language>]
stsadm.exe -o upgradetargetwebapplication has been deprecated since gradual upgrade is no longer supported in the current version.
stsadm -o uploadformtemplate
-filename <path to form template file>
stsadm.exe -o userrole
-url <url>
-userlogin <DOMAIN\name>
-role <role name>
[-add]
[-delete]
stsadm -o variationsfixuptool
-url <absolute web URL>
[-recurse]
[-label <label to fix or spawn>]
[-fix]
[-scan]
[-spawn]
[-showrunningjobs]
stsadm -o verifyformtemplate
-filename <path to form template file>
No comments:
Post a Comment