Required Files: None
This just looks for the TeamViewer ID from your registry and puts it on a custom field.
Import-Module $env:SyncroModule #ok, now lets get the teamviewer ID into a variable $prop = Get-ItemProperty -path HKLM:\SOFTWARE\WOW6432Node\TeamViewer -name "ClientID" write-host "Here is the client ID" write-host $prop.clientid Set-Asset-Field -Subdomain "demo" -Name "TeamViewer ID" -Value $prop.clientid #OR, You can make a teamviewer Link: #Set-Asset-Field -Subdomain "demo" -Name "TeamViewer Link" -Value "teamviewer10://control?device=$($prop.clientid)&authorization=password" |