Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add managed group set/remove policy functionality #51

Conversation

AlexandrosAlexiou
Copy link
Contributor

  • Added Remove-TeamViewerPolicyFromManagedGroup.ps1 to allow for managed groups policy removal.
  • Updated Set-TeamViewerManagedGroup.ps1 to allow for managed groups policy assignment (TeamViewer policy, Monitoring policy, Patch Management policy).
  • Added and updated Docs.
  • Added and updated tests.

@AlexandrosAlexiou AlexandrosAlexiou force-pushed the Enrich-Managed-Groups-Policy-Management branch from f072e16 to 3c01438 Compare October 8, 2023 12:27
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Confirm-PolicyParametersProvided required. Isn't it possible to combine them with mandatory and parametersetnames? Please investigate

Copy link
Contributor Author

@AlexandrosAlexiou AlexandrosAlexiou Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed Confirm-PolicyParametersProvided and simplified the whole logic.

Mandatory parameters do not do the trick here since we do not want to force parameters to be provided for the script to work. eg. In case the user wants to change the group name and does not wish to modify the group policy.

If I am missing something please let me know.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was considered to be moved by git during the directory structure modification. Please update it with latest changes from the main branch

@AlexandrosAlexiou AlexandrosAlexiou force-pushed the Enrich-Managed-Groups-Policy-Management branch from 3c01438 to 0b8d5bf Compare October 16, 2023 19:00
@AlexandrosAlexiou AlexandrosAlexiou force-pushed the Enrich-Managed-Groups-Policy-Management branch from 0b8d5bf to f75da9f Compare October 26, 2023 09:43
@karthickgandhiTV karthickgandhiTV merged commit 991d54a into teamviewer:main Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants