dsccommunity / ActiveDirectoryDsc

This module contains DSC resources for deployment and configuration of Active Directory Domain Services.
MIT License
344 stars 142 forks source link

ADGroup - What does it do if the Domain Group already exists? #609

Closed DanteNahuel closed 4 years ago

DanteNahuel commented 4 years ago

Hi Sorry for the silly question but I want to be sure that if the specified domain group already exists, the DSC won't delete it or replace it. I'm asking this because I want to add a computer object to an existing Domain Group

briantist commented 4 years ago

It won't delete it or overwrite it; it will manage members according to the members settings you chose. I am using it the same way, adding computers and other users to existing groups (it will create the group if it doesn't already exists of course).