- # In case Windows blocks the execution of PS scripts.
- Set-ExecutionPolicy Unrestricted -Scope CurrentUser
- # Find text pattern "mah" in all files with extension ".bib" in current directory (also in sub-dirs):
- Get-ChildItem . -Filter *.bib -Recurse | Select-String "mah"
- # locate a program or a command (for e.g., notepad.exe)
- gcm notepad*