mirror of
https://github.com/serialexperiments0815/PowershellExcercises.git
synced 2026-07-12 15:32:25 +00:00
5 lines
No EOL
292 B
PowerShell
5 lines
No EOL
292 B
PowerShell
# Export all file and folder path to folderFileList.csv
|
|
# Select-Object FullName property was chosen to only export the full path.
|
|
Get-ChildItem -Path "$($PSScriptRoot)" -Recurse |
|
|
Select-Object -Property FullName |
|
|
Export-Csv -Path "$($PSScriptRoot)/folderFileList.csv" -NoTypeInformation |