Skip to content

Commit 95ffbfe

Browse files
Fix documentation for Remove-TeamViewerDuplicateDevicesV2 example script
The script targets two endpoints (one for getting the company devices, one for deleting them), which require read and modify operation permissions on Device Groups for the given Api token. Fixed documentation to reflect that. Also added the example script in the README of the repo.
1 parent fc8e083 commit 95ffbfe

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ A continously growing set of Powershell example scripts that showcase the
1717
* πŸ“œ Sets the policy for all / specific devices to specific policy or inherits policy from group.
1818
* βš™οΈ [TeamViewerPS](https://github.com/teamviewer/TeamViewerPS) module needed
1919

20+
### [Remove-TeamViewerDuplicateDevicesV2](./Remove-TeamViewerDuplicateDevicesV2)
21+
22+
* πŸ“œ Removes TeamViewer devices (MDv2) that have a duplicate counterpart in the same company.
23+
* βš™οΈ [TeamViewerPS](https://github.com/teamviewer/TeamViewerPS) module needed
24+
2025
### [Remove-TeamViewerOutdatedDevice](./Remove-TeamViewerOutdatedDevice)
2126

2227
* πŸ“œ Removes TeamViewer devices (MDv1) that didn't appear online for a given time.
@@ -27,7 +32,7 @@ A continously growing set of Powershell example scripts that showcase the
2732
* πŸ“œ Removes TeamViewer devices (MDv2) that didn't appear online for a given time.
2833
* βš™οΈ [TeamViewerPS](https://github.com/teamviewer/TeamViewerPS) module needed
2934

30-
### [Import-TeamViewerUser](./Import-TeamViewerUser):
35+
### [Import-TeamViewerUser](./Import-TeamViewerUser)
3136

3237
* πŸ“œ Imports and updates a set of users from a CSV file into the TeamViewer company.
3338
* βš™οΈ [TeamViewerPS](https://github.com/teamviewer/TeamViewerPS) module needed

β€ŽRemove-TeamViewerDuplicateDevicesV2/Remove-TeamViewerDuplicateDevicesV2.ps1β€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
.PARAMETER ApiToken
1212
The TeamViewer API token to use.
1313
Must be a user access token.
14-
The token requires the following access permissions: company admin
14+
The token requires the following access permissions: company admin, Device Groups: read and write operations
1515
1616
.PARAMETER Force
1717
If set, the script will NOT ask the user for confirmation of the removal.

0 commit comments

Comments
Β (0)