Need to set the ACL

Need to set the ACL. Only that user should have full control for his foledr & all deny.

-----SCRIPT------

$Users = Get-Content “Users.txt”
ForEach ($user in $users)
{
$newPath = Join-Path “\WIN-85IOGS94Q68\netshare$” -childpath $user
New-Item $newPath -type directory
}

Read the help files for Get-ACL and Set-ACL.