I am writing a PowerShell script which would delete a specific user from all sub-directories.

Below script only removes the permission from the folder but I want to remove permission from all sub-folders as well.

```
$acl = get-acl c:\temp
$accessrule = New-Object System.Security.AccessControl.FileSystemAccessRule ("domain\user","Read",,,"Allow")
$acl.RemoveAccessRuleAll($accessrule)
Set-Acl -Path "c:\temp" -AclObject $acl

```