Powershell Bad Code #4: Search files with multiple extensions

By | July 4, 2015

Question: Why this code doesn’t display files with extensions (*docx, *.txt, *.pdf, *.xlsx ) in the folder (and subfolders)?

Not working

get-childitem-with-multiple-files-extensions-powershell

Working

get-childitem-with-multiple-files-extensions-powershell-working

Answer :


previous-buttonnext-button

Leave a Reply

Your email address will not be published. Required fields are marked *