Posted By

michanne on 06/09/11


Tagged

filemanagement


Versions (?)

Find Empty Folders


 / Published in: Windows PowerShell
 

  1. Get-ChildItem y:\ –recurse | Where-Object {$_\3.PSIsContainer -eq $True -and $_\3.GetFiles().Count -eq 0} | Select-Object Name,FullName

Report this snippet  

You need to login to post a comment.