Skip to main content

Integrations - Teamviewer

It may not be as popular with Techs any more but I find a lot of clients have used TeamViewer previously and use that for remote support.
Status: Open1 comment

Log in to comment and vote

Comments1

  • Purple Exoplanet

    In case anyone comes across this, I have an asset shortcut which works perfectly, and shows up as per attached picture:


    teamviewer10://control?device={{$gorelo:asset.teamviewerid}}


    Requires the 'teamviewerid' custom field on the asset, which we get by using the script:


    if ([IntPtr]::Size -eq 4) {

    $RegPath = 'HKLM:\SOFTWARE\TeamViewer'
    

    } else {

    $RegPath = 'HKLM:\SOFTWARE\Wow6432Node\TeamViewer'
    

    }

    $ErrorActionPreference = 'silentlycontinue'

    $teamviewerInfo = Get-ItemProperty $RegPath -Name 'ClientID'

    if ($teamviewerInfo -ne $null -and $teamviewerInfo.ClientID) {

    $teamviewerid = $teamviewerInfo.ClientID
    
    Write-Host "ClientID: $teamviewerid"
    

    } else {

    $teamviewerid = "TeamViewer ID not found."
    
    Write-Host $teamviewerid
    

    }

    GoreloAction -SetCustomField -Name 'asset.teamviewerid' -Value $tvid