Created
September 22, 2019 04:23
-
-
Save PolarBearGod/24b412f8b9e00a82d8c38ea2eae57703 to your computer and use it in GitHub Desktop.
Finds all files with a given extension and exports the data to a CSV files
This file contains hidden or 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 | where {$_.extension -eq “.exe”} | export-csv -notypeinformation “c:\users\admin\desktop\executables.csv” |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment