List All Java Files in All Subfolders
gci -Recurse -filter *.java | % { $_.FullName }
Use gci | gm to check the type of $_ and its properties and methods
$_ is TypeName: System.IO.FileInfo, and has properties like Name,BaseName,FullName, Length.
Miscs
If we want to show all hidden or system files, use -Force
gci -Recurse -filter *.java | % { $_.FullName }
Use gci | gm to check the type of $_ and its properties and methods
$_ is TypeName: System.IO.FileInfo, and has properties like Name,BaseName,FullName, Length.
Miscs
If we want to show all hidden or system files, use -Force