I'm trying to move a group into a specific ou. I've looked at the microsoft code from:
Microsoft

I tried to put this into a kix script. According to the way it's coded in the Microsoft script the first line contains the path of the OU you want to put the group into. The second line tells where the group is currently, here's my script.
code:
 
$MoveTo = GetObject("LDAP://OU=Groups,OU=SomeOU,OU=US,DC=MyCompany,DC=MyCompany2,DC=MyCompany3")
? $MoveTo
$move= $MoveTo.MoveHere("LDAP://CN=lantest,CN=Users,DC=MyCompany,DC=MyCompany2,DC=MyCompany3")
? @serror

When I run it, this is what it gives me
code:
1460076
Invalid number of parameters.

I've also tried to take out the $move and it still doesn't like it...

What am I doing wrong? [Confused]

Thanks..