Module 1 Day 6: Windows searching within files, Supplemental reading for Windows PowerShell Flashcards
in windows, how do you search for a word in a document? what hotekey
ctrl-f
how do you check if a word exists in multiple files in Windows? GUI
Windows Search Service
What indexes files on your computer by looking through them on a schedule.
Windows Search Service
What service on Windows compiles a list of names and properties of the file into a database?
Windows Search Service
what service that compiles names and properties into a database is usually disabled on Windows Servers?
Windows Search Service
What is Windows Search Service usually enabled on for files in the home directory, but not the entire hard drive?
Windows 8 and Windows 10 desktop computers
What can you find files based on in Windows Search Service?
name, path, last time modified, size, other details
What can’t you do with Search service by default? windows
search for words inside of files.
what can you configure Windows Search Service to do?
search file contents and their properties
Why is it that Windows Search Service is not configured to search file contents and properties by default?
it increases the time it takes for the indexer to work.
What does the Search Service do ahead of time?
runs processes, finds the information for you, and then you just have to retrieve it.
How do you configure Search Service to search file contents and properties?
start menu, type: indexing, click indexing options, Select Users, click Advanced, select file types tab, select index properties and file contents, click OK, close out.
How do you configure the Windows Search Service? Where are the settings for it?
Indexing options in the control panel
When you configure Windows Search Service, will all search terms you want access to be available and all files be indexed the way you want immediately?
no, it takes some time.
what will Windows do as soon as you have finished configuring Search Service?
it will begin rebuilding its index based on your new settings, could be a while or fast, depending on how large your files are.
what can you use in your home directory, GUI, to find files with specific words in them?
Windows File Explorer in home directory. Go to your home directory, and type the term you want to search in your search bar.
how can you tell if indexing is complete?
Indexing Options will show you.
what is another service you can use to find files with words in them?
Notepad++
How do your search files for words in notepad++?
in Notepad++, press CTRL+SHIFT+F to open the Find in files dialog. Find What: word. Directory: Users. Search.
This is very time-consuming unless you get more specific.
In Notepad++, when searching,
What is something you can search the name of?
where can you limit your search to?
what can you use a set of to find files?
what can you set notepad++ to replace in files?
specify what files you want to search,
limit search to a directory,
set of file extensions,
replace words with other words, editing the file.
how can you search files for words from the command line PowerShell? what command do you use?
sls
what does sls do? PowerShell
find words or other strings of characters and files
what does sls stand for? PowerShell
Select-String
what are strings?
a way for the computer to represent text