I have a problem with create a new group in the ADS.
Code:
  
$GroupOU = GetObject ("LDAP://OU=xx,OU=xx,OU=xx,OU=xx,OU=xx,DC=xx,DC=xx,DC=xx")
$Group = $GroupOU.Create("group","cn=" + $Gruppenname)
$Group.Put("SamAccountName",$Gruppenname)
$Group.SetInfo



the problem is I can't use the group to set right with cacels.
After 2 minutes I can use it.
What can I do to use it immediately ?