You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Exchange Online:能否通过PowerShell设置邮箱会议时段时区?

可以通过PowerShell自动同步会议时段!

完全不用手动在OWA里点击确认提示,直接用PowerShell就能单独或批量处理邮箱的会议时区同步问题,具体操作步骤如下:

1. 连接到Exchange Online PowerShell

先确保你已经安装了Exchange Online模块,然后运行以下命令登录:

Connect-ExchangeOnline -UserPrincipalName your-admin-account@domain.com

2. 确认目标邮箱的当前配置(可选但推荐)

可以先查看目标邮箱的日历时区和会议自动更新设置,明确当前状态:

Get-MailboxCalendarConfiguration -Identity "user@example.com" | Select-Object TimeZone, AutomaticallyUpdateMeetings

3. 更新时区并自动同步会议

使用Set-MailboxCalendarConfiguration cmdlet,指定目标时区并开启自动更新会议的选项——这一步的效果和用户在OWA中点击"保持新时区并同步会议时段"完全一致:

# 替换成你需要的时区,比如"Eastern Standard Time"、"Central European Standard Time"等
Set-MailboxCalendarConfiguration -Identity "user@example.com" -TimeZone "Your Target Time Zone" -AutomaticallyUpdateMeetings $true

关键细节:

  • 时区名称必须和Exchange支持的格式匹配,你可以用Get-TimeZone -ListAvailable查看系统支持的时区列表,或者从Get-MailboxRegionalConfiguration的返回结果里复制正确的时区名称。
  • 这个命令会自动调整该邮箱中所有现有会议的时间,使其适配新时区,无需用户手动干预。
  • 如果需要批量处理多个用户,用循环就能高效完成:
# 筛选所有用户邮箱,批量更新时区并同步会议
$targetTimeZone = "Pacific Standard Time"
$userMailboxes = Get-Mailbox -Filter {RecipientTypeDetails -eq "UserMailbox"}

foreach ($mailbox in $userMailboxes) {
    Set-MailboxCalendarConfiguration -Identity $mailbox.UserPrincipalName -TimeZone $targetTimeZone -AutomaticallyUpdateMeetings $true
    Write-Host "已处理邮箱:$($mailbox.DisplayName)"
}

权限要求

执行这些命令需要你拥有Exchange Online的Mailbox Configuration角色,或者全局管理员、Exchange管理员等具备相应权限的角色。

内容的提问来源于stack exchange,提问作者Em Pressey

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.07 17:03:11