plutomikey Posted October 2, 2014 Posted October 2, 2014 I just need to add a GROUP to a computer account in active directory for example computername = "mycompname" AD group to add to my computer account is "wifi_access_device" can anyone help I can not see how to do it with the latest ad udf
jguinch Posted October 2, 2014 Posted October 2, 2014 _AD_AddUserToGroup Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
plutomikey Posted October 2, 2014 Author Posted October 2, 2014 that only adds a user to a group. I need toadd a group a computer account
Bert Posted October 2, 2014 Posted October 2, 2014 Ever heard of Google? This took me only a few seconds to find. http://www.windows-commandline.com/net-localgroup/ The Vollatran project My blog: http://www.vollysinterestingshit.com/
plutomikey Posted October 2, 2014 Author Posted October 2, 2014 well done but that's still to add users to a group I need to add a group to a computer account using autoit
Solution jguinch Posted October 2, 2014 Solution Posted October 2, 2014 (edited) @plutomikey : did you read the helpfile for _AD_AddUserToGroup ? _AD_AddUserToGroup($sGroup, $sUser) Parameters$sGroup : Groupname (FQDN or sAMAccountName)$sUser : Username or computername to be added to the group (FQDN or sAMAccountName) Edited October 2, 2014 by jguinch Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now