Request-SPOUpgradeEvaluationSite

请求创建现有网站集的副本以便验证升级的影响,而不会影响原始网站。

语法

Default (默认值)

Request-SPOUpgradeEvaluationSite
    -Identity <SpoSitePipeBind>
    [-NoUpgrade]
    [-NoEmail]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

说明

利用 Request-SPOUpgradeEvaluationSite cmdlet,SharePoint Online 管理员可以请求现有网站集的副本,以便验证升级效果而不影响原始网站。

不会自动处理升级评估站点的请求。 相反,它计划在对服务造成最小影响时在后台发生。

必须至少是 SharePoint 管理员才能运行 cmdlet。

有关适用于 SharePoint Online 的 Windows PowerShell 的权限和最新信息,请参阅在线文档简介 SharePoint Online 命令行管理程序的简介

示例

示例 1

Request-SPOUpgradeEvaluationSite https://contoso.sharepoint.com/sites/marketing

示例 1 请求使用默认选项(即发送电子邮件并自动尝试升级评估网站)对市场营销网站 https://contoso.sharepoint.com/sites/marketing 执行网站升级评估。

示例 2

Request-SPOUpgradeEvaluationSite https://contoso.sharepoint.com/sites/marketing -NoEmail $true -NoUpgrade $true

此示例请求对市场营销网站 https://contoso.sharepoint.com/sites/marketing. 执行网站升级评估。它指定不发送电子邮件且不自动尝试升级评估网站。 通过这种方式使用 cmdlet,SharePoint Online 或更高版本的管理员可在开始实际升级之前对升级评估网站进行更改。

参数

-Confirm

适用:SharePoint Online

提示你在运行 cmdlet 之前进行确认。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:cf

参数集

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

-Identity

适用:SharePoint Online

指定要为其请求新升级或评估网站集的副本的 SharePoint Online 网站集。

参数属性

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

参数集

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

-NoEmail

适用:SharePoint Online

指定在升级评估网站创建过程结束时,系统不向请求方和网站集管理员发送电子邮件。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

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

-NoUpgrade

适用:SharePoint Online

指定系统不将升级作为评估网站创建过程的一部分执行。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

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

-WhatIf

适用:SharePoint Online

显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:无线

参数集

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

CommonParameters

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