Last active
August 24, 2023 00:04
-
-
Save Anas-jaf/7f309ba50c49625126fde2dd3cc22de8 to your computer and use it in GitHub Desktop.
all_word_pdf_excel_files_2Json.ps1
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 -Path C:\ -Recurse -Include *.docx, *.doc, *.dotx, *.dot, *.rtf, *.xlsx, *.xls, *.xlsm, *.xlsb, *.xlt, *.csv, *.pptx, *.ppt, *.pptm, *.potx, *.pot, *.pdf | ConvertTo-Json | Out-File -FilePath "office_files_and_pdfs.json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment