Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell get empty folders

Get-ChildItem "C:Scripts" -Recurse -Directory | Where-Object {!$_.GetFileSystemInfos().Count} | Select-Object FullName
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #powershell #empty #folders
ADD COMMENT
Topic
Name
5+2 =