how to import users with csv files in powershell ?
I exported a list of users and i'd like to import a list of users (about 400users) with csv file in powershell.
how can i import it ?
below is the code that i exported a list of users
$csvFile = "C:\...\test.csv"
$accessToken = "...."
$usersResponse = Invoke-RestMethod -Uri "https://webapi.teamviewer.com/api/v1/users?full_list=true" -Method Get -Headers @{authorization = "Bearer $AccessToken"}
$usersResponse.users | Export-Csv -Path $csvFile -Delimiter ',' -NoTypeInformation -Encoding UTF8
Have you heard?! On October 21, we’re hosting TeamViewer Rise—and we want to see you there! The digital event dedicated to IT experts. Join us to hear industry leaders as they share demos, roadmaps, and real-world strategies for delivering better IT. Take part in our first annual event for Proven, ready-to-deploy…