Created
May 3, 2023 20:32
-
-
Save ngbrown/deb98d36e0d3e78e70acf6b85bc3825b to your computer and use it in GitHub Desktop.
Export list of files with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem "\\?\C:\*.*" -Recurse | Select-Object FullName,LastWriteTime,Length | Export-Csv "$([Environment]::GetFolderPath("Desktop"))\File-Listing.csv" -NoTypeInformation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment