Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

search command in powershell

grep (options) files.txt. ...
grep "text I search" *.log. ...
Select-String -Path C:	emp*.log -Pattern "Contoso" ...
Get-ChildItem C:	emp -Filter *.log -Recurse | Select-String "Contoso"
 
PREVIOUS NEXT
Tagged: #search #command #powershell
ADD COMMENT
Topic
Name
2+9 =