[Teams] TeamのメンバーをPowerShellから一覧出力
- 2020.09.26
- Office 365
- PowerShell, Teams
目次
GUIからはExportできないようなので
Teams PowerShellモジュール
インストールします。
https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
Teamsに接続
Connect-MicrosoftTeams
特定ユーザーが含まれるTeamの一覧の取得
Get-Team -User xxx.xxx@xxx.com
特定Teamに所属するユーザー一覧の取得
GroupIDはGet-Teamなどで確認
Get-TeamUser -GroupId $_.groupid
Teams管理者でなくともTeamsメンバーの一覧取得とかは使いたい場合あるかもしれませんね。
-
前の記事
365グループの取得・GAL非表示 2020.09.26
-
次の記事
Microsoft 365へのネットワーク接続性・パフォーマンステストツール 2020.09.27