Jump to content

Recommended Posts

Posted

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

  • Solution
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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...