Skip to content

Instantly share code, notes, and snippets.

@ericjuden
Created January 28, 2014 22:50
Show Gist options
  • Save ericjuden/8678297 to your computer and use it in GitHub Desktop.
Save ericjuden/8678297 to your computer and use it in GitHub Desktop.
Search for .ps1 files in a given directory
# Search for .ps1 files in a given directory
Get-ChildItem C:\Code\powershell -Include *.ps1 -Recurse -Force | % { . $_.FullName }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment