Skip to content

Instantly share code, notes, and snippets.

@ericjuden
Created January 28, 2014 22:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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