使用Powershell 连线到Exchange Online

在Exchange Online 上面建立会议室清单
1.1 建立用于认证Exo权限的凭证,在弹出窗口输入账号密码

$UserCredential = Get-Credential 

1.2 建立到EXO的Session,如果你的Exo管理网址不一样,记得替换.

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

1.3 导入远程Session可用的命令

Import-PSSession $Session -DisableNameChecking 

以上,没出错就说明成功连接到Exo,可以进行管理了,第三步可能会有命令导入不全的情况,但只要你需要的命令在就不用重做,不然再来一遍.

Exchange Online 会议室资源&清单的建立

1.1 建立会议室信箱,如下最后的-room 参数将指定此Mailbox为会议室资源

New-Mailbox -Name CnRoom1 -DisplayName "CN Room 1001" -PrimarySmtpAddress "[email protected]" -Room
New-Mailbox -Name CnRoom2 -DisplayName "CN Room 1001"  -PrimarySmtpAddress "[email protected]" -Room
New-Mailbox -Name CnRoom3 -DisplayName "CN Room 901"  -PrimarySmtpAddress "[email protected]" -Room
New-Mailbox -Name TwRoom1 -DisplayName "TW Room 1001"  -PrimarySmtpAddress "[email protected]" -Room
New-Mailbox -Name TwRoom2 -DisplayName "TW Room 901" -PrimarySmtpAddress "[email protected]" -Room
New-Mailbox -Name TwRoom3 -DisplayName "TW Room 801" -PrimarySmtpAddress "[email protected]" -Room

1.2 建立会议室清单,为会议室分组,以利于Client查询,同样最后的-roomlist参数指定群组类型

New-DistributionGroup -Name "CN Conference Rooms" -OrganizationalUnit "contoso.com/rooms" -RoomList
New-DistributionGroup -Name "TW Conference Rooms" -OrganizationalUnit "contoso.com/rooms" -RoomList

1.3 把会议室放入会议室清单内

Add-DistributionGroupMember -Identity "CN Conference Rooms" -Member [email protected]
Add-DistributionGroupMember -Identity "TW Conference Rooms" -Member [email protected]

说明:
会议室对应使用者,会议室清单对应通讯群组,只是最后用参数和普通的做区分.
一些简单位查询的命令:

Get-DistributionGroupMember -Identity "cn rooms" 
Get-Mailbox  -Filter {(RecipientTypeDetails -eq 'RoomMailbox')} 
Get-DistributionGroup -Filter {(RecipientTypeDetails -eq 'Roomlist')}

参考来源:
https://docs.microsoft.com/zh-tw/exchange/recipients-in-exchange-online/manage-room-mailboxes

相关文章:

  • 2021-06-23
  • 2022-12-23
  • 2022-02-27
  • 2022-01-05
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
猜你喜欢
  • 2021-12-26
  • 2021-05-08
  • 2021-07-10
  • 2021-12-01
  • 2021-05-12
  • 2022-02-27
  • 2021-10-24
相关资源
相似解决方案