Adds users from a CSV file to the TeamViewer SSO exclusion list of their respective domain.
This script requires the TeamViewerPS
powershell module to be installed.
Install-Module TeamViewerPS
.\Add-SsoExclusionsFromCSV -Path 'c:\Example.csv' -HeaderName 'Email'
$apiToken = 'SecretToken123' | ConvertTo-SecureString -AsPlainText -Force
.\Add-SsoExclusionsFromCSV -Path 'c:\Example.csv' -HeaderName 'Email'
.\Add-SsoExclusionsFromCSV -Path 'c:\Example.csv' -HeaderName 'Email' -WhatIf
To get further help about the script and its parameters, execute the
Get-Help
PowerShell cmdlet:
Get-Help -Detailed .\Add-SsoExclusionsFromCSV.ps1