Solved

Create client group from Active directory group

  • 7 September 2022
  • 6 replies
  • 81 views

Badge +2

Hi,

I would like to create a client group based on an windows AD computer group, is there an existing way of doing this.

If this is not possible and I have a dump of the AD group how can I script the creation or the addition of these computers to a Commvualt client group.

icon

Best answer by Sebastien Merluzzi 8 September 2022, 13:55

View original

6 replies

Userlevel 6
Badge +14

@Norms 

Have you checked “Automatic Association“ Groups, like the existing Infrastructure or Proxy Groups?

 

Best Regards,

Sebastien

Userlevel 6
Badge +14

@Norms 

Also, you can check how to add using Command Line:

https://documentation.commvault.com/2022e/expert/4914_command_line_interface_client_computer_groups.html

Badge +2

Thanks for the help, I am aware of the automatic group creation but I would need to be able to have the list of servers in the AD pulled by Commvault which does not seem possible. If I use the group creation template I will just have to pull the names of the servers from the AD

Userlevel 7
Badge +16

I have not found an opion in the gui either for this.
Guess you can only perform this by scripting.

Based on the assumption that your client names are equal to the computer object names in the AD you could retreive computer object names based on an AD group, pass these names in to a variable and use that variable in a qcommand:

https://documentation.commvault.com/2022e/expert/SetClientGroup.html

Badge +2

Thanks Jos,

That is also a simpler  method.

Userlevel 7
Badge +16

Your welcome 😃

Reply