AD.asmx AddComputerToGroup?

Nov 25, 2014 at 12:32 PM

Wondering if the AddComputerToGroup adds the computer to a security group or to a normal AD-group (OU)?

Nov 25, 2014 at 1:05 PM
OK. AD 101 ;-)

An Organizational Unit (OU) isn't an AD Group at all. It's an Active Directory Container object, which you can place users, Groups, Computers and other organizational Units into. So Groups and OUs are completely different objects.

The function AddComputerToGroup is adding the Computer account to the specified Group. To put the same Computer into an OU, you would have to use the function MoveComputerToOU.