Question
Search all files located in your .Logs folder. ## You will need to find all entries with 187.76.80.202. Follow the instructions below... ## - Create
Search all files located in your .\Logs folder. ## You will need to find all entries with "187.76.80.202". Follow the instructions below... ## - Create a variable called $findings ## - Assign the output of Select-String CMDLET to $findings ## - Select-String should find all of the matches for 187.76.80.202 ## - You will use -Path and -Pattern Parameters ## - Next, output your findings by simply writing your variable $findings out on the next line
Once complete, lets confirm the number of matches. ## A helper function called howMany has been provided to you. ## howMany takes one argument. See above section called Helper functions for reference ## HINT: Your returned count should be: 475 ## YOUR CODE BELOW HERE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started