Hi folks!
I need to find a sollution how to empty recycle bin on remote computer (same domain as for PC where script will be started).
I've tried to make it with Remove-item (del) with no luck. Main problem is that I need to empty recycle bin for all users. "Remove-item" gives me "access denied" when I'm trying to remove another user's files in recycle bin.
I assume it's possible to make it with help of WMI, but I'm not really good in WMI.
Could anyone help me out with this?
Thanks in advance
/BR
Anton