Created
April 17, 2022 09:57
-
-
Save mozziemozz/2687f5fe0a2fae48739d71bbd5a86909 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import required functions from this repository | |
. .\Functions\Connect-M365CFV.ps1 | |
. .\Functions\Get-TeamsUserCallFlow.ps1 | |
$allTeamsUsers = Get-CsOnlineUser -Filter {accountEnabled -eq $true} | |
$teamsUserCounter = 1 | |
foreach ($teamsUser in $allTeamsUsers) { | |
Write-Host "Visualizing Teams User Calling Settings for user '$($teamsUser.DisplayName)'. User $teamsUserCounter/$($allTeamsUsers.Count)" | |
. Get-TeamsUserCallFlow -UserPrincipalName $teamsUser.UserPrincipalName -PreviewSvg $false -SetClipBoard $false | |
$teamsUserCounter ++ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment