
$header. PS C:\> Get-TVDeviceInfoFromAlias -alias $value1 Is the User Level Token that you can create from the Teamviewer Management ConsoleĬan use Set-TVToken Function will then not be nessessary to use this paramameter There are two TeamViewer versions: Free version (non-commercial use) designed for home use and connecting to a small number of remote devices Paid (commercial) version the number of connected devices and the duration of the sessions are unlimited. Is the Name of the Device seen in all console TeamViewer Versions: Trial Expiration Problem. Get all possible information of a Device from it's alias Gets All Teamviewer Device Info from Alias Can be Portion of the alias Write-Output "Teamviewer Token not working" Write-Output "Teamviewer Token Is Working and Set" $TokenTest = Invoke-RestMethod -Uri "" -Method GET -Headers $header -ContentType application/json $header.Add("authorization", "Bearer $UserToken") PowerShell Script request: Set-TVToken -UserToken $value1įor more Details see Teamviewer API token Documentation You'll need to sort the authentication which involves oAuth, but based on this API documentation, it should be possible using PRTG's support for custom sensors: I believe that this is the information you're after.



That returns a list of sessions, which reports among other things: Specifically, in the TeamViewer_API_Documentation.pdf available in the second link documents the following function: GET /api/v1/sessions (list session codes) There are currently no plans for a team-viewer specific sensor at the present time, but by checking their documentation this should be possible.
