![]() devices | where \assign.Good Afternoon All, So I am looking for help on this Įxit (Start-Process -FilePath 'msiexec.exe' -ArgumentList ('/qn', '/i', '"TeamViewer_Host.msi"', 'CUSTOMCONFIGID=1234567', 'APITOKEN=12345678-abcdefghijklmnopqrs', 'ASSIGNMENTOPTIONS="-grant-easy-access"') -Wait -Passthru).ExitCode $devices = Invoke-RestMethod -Uri " $base_url/api/v1/devices " -Headers $headers # Check to see if device already exists, prompt to delete it if it does $headers = "Authorization " = "Bearer $api_token "} $user_id = " " # Token must belong to this user. $customer_name = $( Read-Host "Customer name ") , \Download-TV.ps1 -host_msi_url "" -configuration_id "$config_id" -assingment_tool_url "" -api_token "$api_token" # Step 4) Save those urls, now we're ready to run the script, you will have to find a way to bypass executionpolicy on PowerShell (it's pretty easy.), when you run the script use it as such (make sure you run as Admin) # Step 3) Uploaded your TeamViewer_Host.msi and your TeamViewer_Assignment.exe somewhere which will be accessible from where you want to deploy. (note: if you keep you're using the same configuration (logo, colors) for all of your MSI's you won't have to repeat this step for other sites/clients.) Save those for later, now click Download MSI. # Step 2) Click the Edit button next to your newly created client host, copy the Configuration ID and the API token. ![]() Then download the Assignment Tool, click Save. # Step 1) Go to your Design & Deploy page and click Add Host>Host, do all your site/client settings and make sure Allow account assignment without confirmation is checked.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |