Sybux
asked on
exit code of iCacls
Hello,
I'm running this command in my script :
I'd like to get the exit status code to know if was OK or not
Any idea ?
I'm running this command in my script :
icacls D:\Test /grant "$($userCN):(OI)(CI)M" | Out-Null
I'd like to get the exit status code to know if was OK or not
Any idea ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.