![]() ![]() startswith ( "com.TeamViewer8" )): # Read the ClientID from the PLIST using CFPref startswith ( "com.teamviewer" ) or plist_file. # The Pennsylvania State University - September 2, 2016įrom _future_ import print_function from Foundation import CFPreferencesCopyAppValue from os import listdir def get_teamviewer_id (): '''Retreives the TeamViewer ID of the current client''' # The directory to search for the TeamViewer PLIST fileĭirectory_to_search = '/Library/Preferences' # Account for all versions of TeamViewer from version 8 on.įor plist_file in listdir ( directory_to_search ): if ( plist_file. '''TeamViewer ID''' # This Extensions Attribute will pull the TeamViewer ID ![]() See below for the code you can plug into your extension attribute: 1 Well to remedy this I built a python script that will extract the ID from either a TeamViewer 8 plist file or a TeamViewer 11 plist file. The only remaining issue is getting the client ID so that we can remote into the system. My college uses TeamViewer for remote support and in my previous posts I have highlighted how to deploy the software. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |