Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. To make it easier for searching in the future, lets build a function! ## The structure of the function has been provided below. ##

3. To make it easier for searching in the future, lets build a function! ## The structure of the function has been provided below. ## Your job is to complete the function in areas that say "YOUR CODE BELOW HERE" ## Example of Function: logSearcher -dir "C:\Users\Student\Documents\*" -text "SAMPLE" -showLogs $True ## this will also work: logSearcher ".\Documents\*" "SAMPLE" $True function logSearcher($dir,$text,$showLogs) { ## Create a variable called $results to store your results ## Set $results equal to your Select-String statement similiar to #1. ## For your -Path paramter use $dir, and -Pattern use $text variable ## YOUR CODE BELOW HERE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Stonewalling and how do they deal with it?

Answered: 1 week ago

Question

Describe how language reflects, builds on, and determines context?

Answered: 1 week ago