plutomikey Posted October 2, 2014 Share 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 Link to comment Share on other sites More sharing options...
jguinch Posted October 2, 2014 Share Posted October 2, 2014 _AD_AddUserToGroup Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
plutomikey Posted October 2, 2014 Author Share Posted October 2, 2014 that only adds a user to a group. I need toadd a group a computer account Link to comment Share on other sites More sharing options...
Bert Posted October 2, 2014 Share 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/ Link to comment Share on other sites More sharing options...
plutomikey Posted October 2, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Solution jguinch Posted October 2, 2014 Solution Share 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 Link to comment Share on other sites More sharing options...
plutomikey Posted October 3, 2014 Author Share Posted October 3, 2014 cheers dude your a legend Link to comment Share on other sites More sharing options...
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