Hi guys! Today i'm working on a VM with Windows server 2008 R2, the role is File services, file server and file server resource manager are installed. I want to do those things, scheduled if possible: Delete empty foldersCreate a report for duplicate filesDelete temprary filesFor the first problem i've created a script: $Dir="C:\Test" foreach( $In in(Get-ChildItem $Dir -Recurse)){if(!(Get-ChildItem -Path $In.FullName)){echo $In.FullName;Remove-Item $In.FullName}}for the last problem i used File management tasks creating a role for each extension. what about the second problem? Nothing i've done... suggestions? Thanks A