Score:0

I want to create active directory groups for all domain joined servers via group policy.Is that possible?

sg flag

I want to create active directory groups via group policy for every server I join to the domain so that I don't need to create groups manually. Is that possible ?

cn flag
No, but you can create a scheduled task that checks for new servers and creates the group accordingly.
Sushmita Chakraborty avatar
sg flag
Hey @GregAskew...can you please help me out on this one ?
LeeM avatar
cn flag
Maybe you need to attempt to figure out a solution first. For example, you could create a Powershell script that does an LDAP query for new computer objects with a server OS in Active Directory and creates the group. Scheduled to run every day or whatever interval suits. Hint: after the first (manual) run, the query might specify server computers with a `WhenCreated` date greater than the last time the script ran, otherwise it'll try creating the same groups over and over.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.