teamviewer.com link icon
or
Ask The Community

Do you want to enjoy the new TeamViewer user interface for Windows?


Download the new version and let us know what you think about it! 👉 Please click here 👈

Help with Removing Group full of computers API script.

HRMService
HRMService Posts: 2 ✭✭
edited October 4 in API and scripting

I am trying to use your delete group script and getting the following error:

"Select the group you will like to remove: 7

Delete device: machnename

Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not 

complete. Specify the UseBasicParsing parameter and try again. 

At line:34 char:19

+ ...  $delete = Invoke-WebRequest -Uri "Https://webapi.teamviewer.com/api ...

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  + CategoryInfo     : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException

  + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand"


Script in use is this:

Delete a group from your Computers and Contacts using API - TeamViewer Support


Teamviewer support cannot help me even though they were the ones telling me to use this script.

Does anyone have any advice, please? Thanks in advance