The SharePoint
PowerShell management console replaced STSADM since SharePoint 2010 release. In
SharePoint 2013, the PowerShell management console is always here and do not purpose
new functionalities. If you have some difficulties to use PowerShell management
console as STSADM console, you can get equivalent STSADM commands in PowerShell
in this table:
|
STSADM Commands
|
Sharepoint Management PowerShell Commands
|
|
Activatefeature
|
Enable-SPFeature
|
|
Activateformtemplate
|
Enable-SPInfoPathFormTemplate
|
|
Addalternatedomain
|
New-SPAlternateUrl
|
|
Addcontentdb
|
Mount-SPContentDatabase
New-SPContentDatabase
|
|
Adddataconnectionfile
|
Install-SPDataConnectionFile
|
|
Add-ecsfiletrustedlocation
|
New-SPExcelFileLocation
|
|
Add-ecssafedataprovider
|
New-SPExcelDataProvider
|
|
Add-ecstrusteddataconnectionlibrary
|
New-SPExcelDataConnectionLibrary
|
|
Add-ecsuserdefinedfunction
|
New-SPExcelUserDefinedFunction
|
|
Addexemptuseragent
|
Add-SPInfoPathUserAgent
|
|
Addpath
|
New-SPManagedPath
|
|
Addsolution
|
Add-SPSolution
|
|
Adduser
|
New-SPUser
|
|
Addwppack
|
Install-SPWebPartPack
|
|
Addzoneurl
|
New-SPAlternateUrl
|
|
Allowuserformwebserviceproxy
|
Set-SPInfoPathWebServiceProxy
|
|
Allowwebserviceproxy
|
Set-SPInfoPathWebServiceProxy
|
|
Authentication
|
Set-SPWebApplication
|
|
Backup
|
Backup-SPConfigurationDatabase
Backup-SPFarm
Backup-SPSite
|
|
Backuphistory
|
Get-SPBackupHistory
|
|
Createadminvs
|
New-SPCentralAdministration
|
|
Createsite
|
New-SPSite
|
|
Createsiteinnewdb
|
New-SPContentDatabase
|
|
Createweb
|
New-SPWeb
|
|
Deactivatefeature
|
Disable-SPFeature
|
|
Deactivateformtemplate
|
Disable-SPInfoPathFormTemplate
|
|
Deletealternatedomain
|
Remove-SPAlternateUrl
|
|
Deleteconfigdb
|
Remove-SPConfigurationDatabase
|
|
Deletecontentdb
|
Dismount-SPContentDatabase
|
|
Deletepath
|
Remove-SPManagedPath
|
|
Deletesite
|
Remove-SPSite
|
|
Deletesolution
|
Remove-SPSolution
|
|
Deleteuser
|
Remove-SPUser
|
|
Deleteweb
|
Remove-SPWeb
|
|
Deletewppack
|
Uninstall-SPWebPartPack
|
|
Deletezoneurl
|
Remove-SPAlternateUrl
|
|
Deploysolution
|
Install-SPSolution
|
|
Deploywppack
|
Install-SPWebPartPack
|
|
Displaysolution
|
Get-SPSolution
|
|
Editcontentdeploymentpath
|
Set-SPContentDeploymentPath
|
|
Enumalternatedomains
|
Get-SPAlternateURL
|
|
Enumcontentdbs
|
Get-SPContentDatabase
|
|
Enumdataconnectionfiledependants
|
Get-SPDataConnectionFileDependent
|
|
Enumdataconnectionfiles
|
Get-SPDataConnectionFile
|
|
Enumexemptuseragents
|
Get-SPInfoPathUserAgent
|
|
Enumformtemplates
|
Get-SPInfoPathFormTemplate
|
|
Enumservices
|
Get-SPServiceInstance
|
|
Enumsites
|
Get-SPSiteAdministration (Need Farm
Administrator Rights)
Get-SPSite (Need local
administrator rights)
|
|
Enumsolutions
|
Get-SPSolution
|
|
Enumsubwebs
|
Get-SPWeb
|
|
Enumtemplates
|
Get-SPWebTemplate
|
|
Enumusers
|
Get-SPUser
|
|
Enumwppacks
|
Get-SPWebPartPack
|
|
Enumzoneurls
|
Get-SPAlternateURL
|
|
Execadmsvcjobs
|
Start-SPAdminJob
|
|
Export
|
Export-SPWeb
|
|
Extendvs
|
New-SPWebApplication
|
|
Extendvsinwebfarm
|
New-SPWebApplicationExtension
|
|
Getadminport
|
Get-SPWebApplication }
|
|
Getdataconnectionfileproperty
|
Get-SPDataConnectionFile
|
|
Getformtemplateproperty
|
Get-SPInfoPathFormTemplate
|
|
Getproperty
|
Get-SPFarmConfig
Get-SPTimerJob
Disable-SPTimerJob
Enable-SPTimerJob
Set-SPTimerJob
Start-SPTimerJob
|
|
Getsitelock
|
Get-SPSiteAdministration
|
|
Geturlzone
|
Get-SPAlternateURL
|
|
Import
|
Import-SPWeb
|
|
Installfeature
|
Install-SPFeature
|
|
Listlogginglevels
|
Get-SPLogLevel
|
|
Listregisteredsecuritytrimmers
|
Get-SPEnterpriseSearchSecurityTrimmer
|
|
Mergecontentdbs
|
Move-SPSite
|
|
Migrateuser
|
Move-SPUser
|
|
Osearch
|
Get-SPEnterpriseSearchService
/ Set-SPEnterpriseSearchService.
Start-SPEnterpriseSearchServiceInstance
/ Stop-SPEnterpriseSearchServiceInstance.
Get-SPEnterpriseSearchServiceInstance.
|
|
Get-SPEnterpriseSearchServiceApplication
|
Set-SPEnterpriseSearchServiceApplication
|
|
Provisionservice
|
Start-SPServiceInstance
|
|
Quiesceformtemplate
|
Stop-SPInfoPathFormTemplate
|
|
Reconvertallformtemplates
|
Update-SPInfoPathFormTemplate
|
|
Registersecuritytrimmer
|
New-SPEnterpriseSearchSecurityTrimmer
|
|
Removedataconnectionfile
|
Uninstall-SPDataConnectionFile
|
|
Remove-ecsfiletrustedlocation
|
Remove-SPExcelFileLocation
|
|
Remove-ecssafedataprovider
|
Remove-SPExcelDataProvider
|
|
Remove-ecstrusteddataconnectionlibrary
|
Remove-SPExcelDataConnectionLibrary
|
|
Remove-ecsuserdefinedfunction
|
Remove-SPExcelFileLocation
|
|
Removeexemptuseragent
|
Remove-SPInfoPathUserAgent
|
|
Removeformtemplate
|
Uninstall-SPInfoPathFormTemplate
|
|
Renameserver
|
Rename-SPServer
|
|
Renamesite
|
Set-SPSite
|
|
Renameweb
|
Set-SPWeb
|
|
Restore
|
Restore-SPFarm
Restore-SPSite
|
|
Retractsolution
|
Uninstall-SPSolution
|
|
Runcontentdeploymentjob
|
Start-SPContentDeploymentJob
|
|
Scanforfeatures
|
Install-SPFeature
|
|
Setadminport
|
Set-SPCentralAdministration
|
|
Setconfigdb
|
Connect-SPConfigurationDatabase
|
|
Setcontentdeploymentjobschedule
|
Set-SPContentDeploymentJob
|
|
Setdataconnectionfileproperty
|
Set-SPDataConnectionFile
|
|
Set-ecsexternaldata
|
Set-SPExcelFileLocation
|
|
Set-ecsloadbalancing/
Set-ecsmemoryutilization/ Set-ecssecurity/ Set-ecssessionmanagement/
Set-ecsworkbookcache
|
Set-SPExcelServiceApplication
|
|
Setformtemplateproperty
|
Set-SPInfoPathFormTemplate
|
|
Setlogginglevel
|
Set-SPLogLevel
|
|
Setproperty
|
Set-SPFarmConfig
Get-SPTimerJob
Disable-SPTimerJob
Enable-SPTimerJob
Set-SPTimerJob
Start-SPTimerJob
|
|
Setsitelock
|
Set-SPSiteAdministration
|
|
Setsiteuseraccountdirectorypath
|
Get-SPSiteSubscription
New-SPSiteSubscription
Remove-SPSiteSubscription
|
|
Setworkflowconfig
|
Set-SPWorkflowConfig
|
|
Siteowner
|
Set-SPSiteAdministration
|
|
Syncsolution
|
Install-SPSolution
|
|
|
|
SharePoint,STSADM ,Powershell
Hi
ReplyDeleteSuddenly i did stsadm -o uninstall. later all sites in sever crashed even central admin also not working.
please i need help in this, Thanks in advance
Regards,
Ravindra