Hallo,
I would like to delete a directory of a user with the powershell (I 've run it as administrator):
PS C:\Users> Remove-Item DIRECTORY -Force -Recurse
+ CategoryInfo : PermissionDenied:...[Remove-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : RemoveItemUnauthorizedAccessError,Microsoft.PowerShell.Commands.RemoveItemCommand
I can delete it with cmd:
PS C:\Users> cmd /c 'rd /s /q DIRECTORY'
Why is this possible?
Robert