Hallo Dukel,
habe es hinbekommen, vielen Dank nochmals
hier mein script:
$users = get-content "D:\temp\Userliste.txt"
foreach ($user in $users)
{
$acl = get-acl -path “$user”
$new = “domain\user1”,”FullControl”,”ContainerInherit,ObjectInherit”,”None”,”Allow”
$accessRule = new-object System.Security.AccessControl.FileSystemAccessRule $new
$acl.SetAccessRule($accessRule)
$acl | Set-Acl “$user”
}