mirror of
https://github.com/serialexperiments0815/PowershellExcercises.git
synced 2026-07-12 15:32:25 +00:00
7 lines
No EOL
338 B
PowerShell
7 lines
No EOL
338 B
PowerShell
# Call 'Get-ChildItem' cmdlet method to retrieve filesystem objects.
|
|
# './' specifies current directory.
|
|
# '-Recurse' instructs iterations through subdirectories.
|
|
# '-File' returns results for files only, no directories.
|
|
# '-Filter' returns results for specified string pattern.
|
|
|
|
Get-ChildItem -Path "./" -Recurse -File -Filter *.ps1 |