Stop-SPOTenantRename
重要
目前,SharePoint 网站和 OneDrive 帐户总数不超过 10,000 个的组织可以使用此功能。
取消计划作业以在 Microsoft 365 中更改组织的 SharePoint 域名。
注意
如果更改 SharePoint 域名的作业已在进行中,则无法取消或停止该作业。
语法
Default (默认值)
Stop-SPOTenantRename
-Reason <String>
[-Comment <String>]
[<CommonParameters>]
说明
此命令将取消组织的 SharePoint 域名的计划重命名。
示例
示例 1
Stop-SPOTenantRename -Reason "Rescheduling"
取消 SharePoint 域名的重命名,原因为“重新安排”。
参数
-Comment
适用:SharePoint Online
指定取消作业的其他注释。
参数属性
| 类型: | System.String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Reason
适用:SharePoint Online
指定取消作业的原因。
参数属性
| 类型: | System.String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。