I try to execute this powershell script :
$UD = $Domain +"\"+ $User
Invoke-Item "icacls.exe c:\test\ /T /C /grant '%UD:(OI)(CI)F'
This message is returned :
$U: No mapping between account names and security IDs was done.
How can I resolve this problem?