Restore-SPODeletedContainer

从回收站恢复已删除的容器。

语法

Default (默认值)

Restore-SPODeletedContainer
    [-Identity] <SPOContainerPipeBind>
    [<CommonParameters>]

说明

cmdlet Restore-SPODeletedContainer 从回收站恢复以前删除的文件存储容器。 cmdlet 将检索还原的 Get-SPOContainer 容器。 必须至少是 SharePoint Online 管理员才能运行此 cmdlet。

示例

示例 1

Restore-SPODeletedContainer -Identity b66f5b2e-4cbd-4754-9ad3-8291c2c81ade

示例 1 使用 从回收站还原容器 ContainerIdb66f5b2e-4cbd-4754-9ad3-8291c2c81ade

参数

-Identity

适用:SharePoint Online

使用此参数指定要 ContainerId 还原的已删除容器的 。

参数属性

类型:Microsoft.Online.SharePoint.PowerShell.SPOContainerPipeBind
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:0
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Object