Restore-SPODeletedSite
从回收站还原 SharePoint Online 已删除的网站集。
语法
Restore-SPODeletedSite
-Identity <SpoSitePipeBind>
[-NoWait]
[<CommonParameters>]
说明
你必须既是 SharePoint Online 管理员或全局管理员又是网站集管理员才能运行 cmdlet。
有关适用于 SharePoint Online 的 Windows PowerShell 的权限和最新信息,请参阅在线文档简介 SharePoint Online 命令行管理程序的简介。
示例
----------------------例子-----------------------
Restore-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite
本示例还原名为“;https://contoso.sharepoint.com/sites/arecycledsite"从回收站。
参数
-Identity
指定要还原的网站集的 URL。
Type: | SpoSitePipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-NoWait
指定立即继续执行脚本。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |