
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,ĭirectory C:\$Recycle.Bin\S-1-5-21-2075287821-1501848897-898514209-16131 cannot be removed because it is not empty.

+ CategoryInfo : PermissionDenied: (desktop.ini:FileInfo), IOException To build on what Mike suggested and to make it execute on remote computers: foreach ($computer in (Get-Content -Path C:\Servernames.txt)) Ĭannot remove item C:\$Recycle.Bin\S-1-5-21-2075287821-1501848897-898514209-16131\desktop.ini: Not Enough permission to
