使用 PowerShell 删除 Sharepoint 站点
Deleting Sharepoint Site Using PowerShell
我正在尝试使用 powershell 删除共享点网站:
Remove-SPSite -Identity "site url"
我不断收到一条错误消息:
"Cannot find an SPSite object with Id or Url"
我正在使用场用户在 Sharepoint 服务器上使用 Sharepoint PowerShell。命令后 运行 $StackTrace 什么也没得到。
谢谢
看到您对 Guruparan 问题的回复后,如果您尝试删除子站点,则需要使用不同的命令行开关
Remove-SPWeb http://yourwebapp.example.com/sites/yoursite/yoursubsite
参考:https://technet.microsoft.com/en-us/library/ff607890.aspx
我正在尝试使用 powershell 删除共享点网站:
Remove-SPSite -Identity "site url"
我不断收到一条错误消息:
"Cannot find an SPSite object with Id or Url"
我正在使用场用户在 Sharepoint 服务器上使用 Sharepoint PowerShell。命令后 运行 $StackTrace 什么也没得到。 谢谢
看到您对 Guruparan 问题的回复后,如果您尝试删除子站点,则需要使用不同的命令行开关
Remove-SPWeb http://yourwebapp.example.com/sites/yoursite/yoursubsite
参考:https://technet.microsoft.com/en-us/library/ff607890.aspx