Sign in to follow this  
Followers 0
plutomikey

PLEASE HELP

7 posts in this topic

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

Share this post


Link to post
Share on other sites



that only adds a user to a group. I need toadd a group  a computer account

Share this post


Link to post
Share on other sites

well done but that's still to add users to a group

I need to add a group to a computer account using autoit

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 by jguinch

Share this post


Link to post
Share on other sites

cheers dude your a legend

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0