Created
March 2, 2017 16:08
-
-
Save MagicAndi/3d5f1af0153e029fba89fac9f626c94b to your computer and use it in GitHub Desktop.
One-liner script that lists all file paths in a specified directory
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:\Temp\IIS Logs" -recurse | where {$_.extension -eq ".log"} | % { Write-Host $_.FullName } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment