powershell ls "%cd%" -recurse ^| select -first 100 FullName
ou
powershell ls "%cd%" -r^|select -f 100 FullName
sem cabeçalho:
powershell ls "%cd%" -r^|select -f 100 FullName^|ft -HideTableHeaders
ou
powershell ls "%cd%" -r^|select -f 100 FullName^|ft -Hide
sem diretório:
powershell ls "%cd%" -r^|?{$_.Attributes -notmatch 'Directory'}^|select -f 100 FullName
apenas diretório:
powershell ls "%cd%" -r^|?{$_.Attributes -match 'Directory'}^|select -f 100 FullName