コンテンツにスキップ

PowershellでExchangeに接続する方法

index

1. doc

2. Exchageへの接続と切断

2.1. 接続

connect-ExchangeOnline -UserPrincipalName ryota.hirano@maviss-design.com

2.2. 切断

Disconnect-ExchangeOnline

3. グループの取得

Get-UnifiedGroup -Identity test

3.1. 表示例

※ testが含まれるグループが2つあった

Name                                         DisplayName GroupType PrimarySmtpAddress
----                                         ----------- --------- ------------------
Test861_38881d61-8105-42b9-b83b-2cc6d890f96e Test        Universal Test861@officemavissdesign.onmicrosoft.com
test_1ed0696f-aea2-4d33-9878-db9e0077c5d3    test        Universal test@officemavissdesign.onmicrosoft.com