Last active
May 3, 2021 13:00
-
-
Save danieljoos/bb8189205d198a8283fc92a82573916b 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
Install-Module TeamViewerPS | |
Connect-TeamViewerApi | |
# ---- | |
$domain = Get-TeamViewerSsoDomain | Where-Object { $_.Name -eq 'example.com' } | |
# ---- | |
Import-Csv ./example.csv | ` | |
Select-Object -ExpandProperty Email | ` | |
Add-TeamViewerSsoExclusion -DomainId $domain | |
# ---- | |
Get-TeamViewerSsoExclusion -Domain $domain | Measure-Object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment