If you would like to find the empty folders in a directory you can use the below PowerShell script to find out.
Script:
$path = "D:\" #change the value based on need
#get the list of directories in the given path recursively
Get-ChildItem -Path $path -Directory -Recurse | ForEach-Object `
{
#verify the count of files and folders in the directories are zero
if($_.GetFiles().Count -eq 0 -and $_.GetDirectories().Count -eq 0)
{
"$($_.name)"
}
}