적용 대상:
2013
2016
2019
Subscription Edition
SharePoint in Microsoft 365
Stsadm 작업과 PowerShell cmdlet 간에 일대일 매핑이 없는 경우 표에는 유사한 기능을 가져오는 데 사용해야 하는 특정 PowerShell 매개 변수가 나열되어 있습니다.
| Stsadm 작업 | Windows PowerShell cmdlet |
| Activatefeature | Enable-SPFeature |
| Activateformtemplate | Enable-SPInfoPathFormTemplate |
| Addalternatedomain | New-SPAlternateUrl |
| Addcontentdb | Mount-SPContentDatabaseNew-SPContentDatabase |
| Addexemptuseragent | Add-SPInfoPathUserAgent |
| Addpath | New-SPManagedPath |
| Addpermissionpolicy | 없음 |
| Addsolution | Add-SPSolution |
| Addtemplate | 없음 |
| Adduser | New-SPUser |
| Addwppack | Install-SPWebPartPack |
| Addzoneurl | New-SPAlternateUrl |
| Allowuserformwebserviceproxy | Set-SPInfoPathWebServiceProxyAllowForUserForms 및 ID 매개 변수 를 사용합니다. |
| Allowwebserviceproxy | Set-SPInfoPathWebServiceProxyAllowWebServiceProxy 및 ID 매개 변수 를 사용합니다. |
| 인증 | Set-SPWebApplicationAuthenticationMethod 또는 AuthenticationProvider 매개 변수를 사용합니다. |
| 백업 | Backup-SPConfigurationDatabaseBackup-SPFarmBackup-SPSite |
| Backuphistory | Get-SPBackupHistory |
| Binddrservice | 없음 |
| Blockedfilelist | 없음 |
| Canceldeployment | 없음 |
| Changepermissionpolicy | 없음 |
| Copyappbincontent | Install-SPApplicationContent |
| Createadminvs | New-SPCentralAdministration |
| 만들기 그룹 | 없음 |
| Createsite | New-SPSite |
| Createsiteinnewdb | New-SPSiteContentDatabase 매개 변수를 사용합니다. New-SPContentDatabase |
| Createweb | New-SPWeb |
| Databaserepair | Get-SPContentDatabaseOrphanedData를 사용하여 분리된 데이터를 검색하지만 분리된 데이터는 복구하지 않습니다. |
| Deactivatefeature | Disable-SPFeature |
| Deactivateformtemplate | Disable-SPInfoPathFormTemplate |
| Deleteadminvs | Remove-SPCentralAdministration |
| Deletealternatedomain | Remove-SPAlternateUrl |
| Deleteconfigdb | Disconnect-SPConfigurationDatabase |
| Deletecontentdb | Dismount-SPContentDatabase |
| Deletegroup | 없음 |
| Deletepath | Remove-SPManagedPath |
| Deletepermissionpolicy | 없음 |
| Deletesite | Remove-SPSite |
| Deletesolution | Remove-SPSolution |
| Deletetemplate | 없음 |
| Deleteuser | Remove-SPUser |
| Deleteweb | Remove-SPWeb |
| Deletewppack | Uninstall-SPWebPartPack |
| Deletezoneurl | Remove-SPAlternateUrl |
| Deploysolution | 설치-SPSolution |
| Deploywppack | Install-SPWebPartPack |
| Disablessc | 없음 |
| Displaysolution | Get-SPSolution |
| Editcontentdeploymentpath | Set-SPContentDeploymentPath |
| 전자 메일 | -SMTPServer 매개 변수 집합과 함께 Set-SPWebApplication 을 사용합니다. |
| Enablessc | 없음 |
| 열거형 웹 | Get-SPContentDatabaseOrphanedData |
| 열거형토민 | Get-SPAlternateURL |
| 열거형 | Get-SPContentDatabase |
| Enumdataconnectionfiledependants | Get-SPDataConnectionFileDependent |
| Enumdataconnectionfiles | Get-SPDataConnectionFile |
| 열거형 | 없음 |
| Enumexemptuseragents | Get-SPInfoPathUserAgent |
| 열거형 | Get-SPInfoPathFormTemplate |
| 열거형 그룹 | 없음 |
| 열거형 | 없음 |
| 열거형 | Get-SPServiceInstance |
| 열거형 | Get-SPSiteAdministration (이 cmdlet을 실행하려면 팜 관리자 그룹의 구성원이어야 합니다.) Get-SPSite (이 cmdlet을 실행하려면 SharePoint Server가 설치된 컴퓨터에서 로컬 관리자여야 합니다.) |
| 열거형 | Get-SPSolution |
| Enumsubwebs | Get-SPWeb |
| 열거형 | Get-SPWebTemplate |
| 열거자 | Get-SPUser |
| 열거형 | Get-SPWebPartPack |
| 열거형 | Get-SPAlternateURL |
| Execadmsvcjobs | Start-SPAdminJob |
| 내보내기 | Export-SPWeb |
| Extendvs | New-SPWebApplication |
| Extendvsinwebfarm | New-SPWebApplicationExtension |
| Forcedeletelist | 없음 |
| Getadminport |
Get-SPWebApplication 다음 구문을 사용합니다. Get-SPWebApplication -IncludeCentralAdministration| ? {$_.IsAdministrationWebApplication -eq $true} |
| Getdataconnectionfileproperty 속성 |
Get-SPDataConnectionFile 다음 구문을 사용합니다. Get-SPDataConnectionFile| where {$_.Name -eq "dataConFileName"}| format-list |
| Getformtemplateproperty 속성 |
Get-SPInfoPathFormTemplate 다음 구문을 사용합니다. Get-SPInfoPathFormTemplate| where {$_.DisplayName -eq "formTemplateName"}| format-list |
| Getosearchsetting | 없음 |
| Getproperty | Get-SPFarmConfigGet-SPTimerJobDisable-SPTimerJobEnable-SPTimerJobSet-SPTimerJobStart-SPTimerJob |
| Getsitelock | Get-SPSiteAdministration |
| Getsiteuseraccountdirectorypath | Get-SPSite를 사용하여 사이트 개체를 가져와 UserAccountDirectoryPath 속성을 출력합니다. |
| Geturlzone | Get-SPAlternateURL |
| 가져오기 | Import-SPWeb |
| Installfeature | Install-SPFeature |
| Listlogginglevels | Get-SPLogLevel |
| Listqueryprocessoroptions | 없음 |
| Listregisteredsecuritytrimmers | Get-SPEnterpriseSearchSecurityTrimmer |
| Localupgradestatus | 없음 그러나 Get-SPPendingUpgradeActions는 유사한 정보를 제공합니다. |
| Managepermissionpolicylevel | 없음 |
| Mergecontentdbs | Move-SPSite |
| Migrateuser | Move-SPUser |
| 오세아크 (Osearch) | Osearch 매개 변수 farmcontactemail, farmperformancelevel, farmserviceaccount 및 farmservicepassword의 경우 Get-SPEnterpriseSearchService 및 Set-SPEnterpriseSearchService cmdlet을 사용합니다. Osearch 매개 변수 시작 및 중지의 경우 각각 Start-SPEnterpriseSearchServiceInstance 및 Stop-SPEnterpriseSearchServiceInstance cmdlet을 사용합니다. Osearch 매개 변수 defaultindexlocation의 경우 Get-SPEnterpriseSearchServiceInstance cmdlet을 사용합니다. |
| Osearchdiacriticsensitive | Get-SPEnterpriseSearchServiceApplication cmdlet을 사용하여 특정 Search Service 애플리케이션을 검색한 다음 Set-SPEnterpriseSearchServiceApplication cmdlet에서 DiacriticSensitive 매개 변수를 사용합니다. |
| Profilechangelog | 없음 그러나 SSP(공유 서비스 공급자) 이름을 서비스 애플리케이션(SA) 이름으로 바꾸는 경우 Stsadm profilechangelog 작업을 사용할 수 있습니다. stsadm -o profilechangelog-title <SA name>-daysofhistory <number of days>-generateanniversaries |
| Provisionservice | Start-SPServiceInstance |
| Quiescefarm | 없음 |
| Quiescefarmstatus | 없음 |
| Quiesceformtemplate | Stop-SPInfoPathFormTemplate |
| Reconvertallformtemplates | Update-SPInfoPathFormTemplate |
| 새로 고침 | 없음 |
| Refreshsitedms | 없음 |
| Registersecuritytrimmer | New-SPEnterpriseSearchSecurityTrimmer |
| Registerwsswriter | 없음 |
| Removedataconnectionfile | Uninstall-SPDataConnectionFile |
| Removedrservice | 없음 |
| Removeexemptuseragent | Remove-SPInfoPathUserAgent |
| Removeformtemplate | Uninstall-SPInfoPathFormTemplate |
| Removesolutiondeploymentlock | 없음 |
| Renameserver | Rename-SPServer |
| 이름 바꾸기 사이트 | Set-SPSiteUrl 매개 변수를 사용합니다. |
| Renameweb | Set-SPWebRelativeUrl 매개 변수를 사용합니다. |
| 복원 | Restore-SPFarmRestore-SPSite |
| Retractsolution | Uninstall-SPSolution |
| Retractwppack | 없음 |
| Runcontentdeploymentjob | Start-SPContentDeploymentJob |
| Scanforfeatures | Install-SPFeatureScanforfeatures 매개 변수를 사용합니다. |
| Setadminport | Set-SPCentralAdministration |
| Setapppassword | Set-SPApplicationCredentialKeyRemove-SPApplicationCredentialKey |
| Setconfigdb | Connect-SPConfigurationDatabase |
| Setcontentdeploymentjobschedule | Set-SPContentDeploymentJob |
| Setdataconnectionfileproperty | Set-SPDataConnectionFile |
| Setformtemplateproperty | Set-SPInfoPathFormTemplate |
| Setlogginglevel | Set-SPLogLevel |
| Setosearchsetting | 없음 |
| Setproperty | Set-SPFarmConfigGet-SPTimerJobDisable-SPTimerJobEnable-SPTimerJobSet-SPTimerJobStart-SPTimerJob |
| Setqueryprocessoroptions | 없음 |
| Setsitelock | Set-SPSiteAdministrationLockState 매개 변수를 사용합니다. |
| Setsiteuseraccountdirectorypath | Set-SPSiteUserAccountDirectoryPath 매개 변수를 사용합니다. |
| Setworkflowconfig | Set-SPWorkflowConfig |
| 사이트 소유자 | Set-SPSiteAdministration |
| 동기화 | Update-SPProfileSyncClear-SPContentDatabaseSyncDataGet-SPContentDatabase (-DaysSinceLastProfileSync 매개 변수 포함) |
| Syncsolution | Install-SPSolutionSynchronize 매개 변수를 사용합니다. |
| Unextendvs | Remove-SPWebApplication |
| 제거 | Uninstall-SPFeature |
| Unquiescefarm | 없음 |
| Unquiesceformtemplate | Start-SPInfoPathFormTemplate |
| Unregistersecuritytrimmer | Remove-SPEnterpriseSearchSecurityTrimmer |
| 등록 취소자 | 없음 |
| Updateaccountpassword | Set-SPManagedAccount |
| Updatealerttemplates | 없음 |
| Updatefarmcredentials | 없음 |
| 업그레이드 | 없음 |
| Upgradeformtemplate | Install-SPInfoPathFormTemplate |
| Upgradesolution | Update-SPSolution |
| Upgradetargetwebapplication | 없음 |
| Uploadformtemplate | Install-SPInfoPathFormTemplate |
| Userrole | Get-SPUserMove-SPUserNew-SPUserRemove-SPUserSet-SPUser |
| Verifyformtemplate | Test-SPInfoPathFormTemplate |