Chapter 9. File Scanning

When you are evaluating systems in your environment, there may be a time where you need to scan files for specific content. The Window server scanning script enables you to search directories for files with specific strings. Common strings may include error messages, clear text passwords, or even specific server information such as hostnames and IP addresses. The ability to scan systems for specific content is an immensely powerful tool that can reveal a plethora of information about your systems.

It is common, when scanning a system, to have a lot of results that are not what you are looking for, also known as false positives. This chapter will explore how to reduce the number of false positives by narrowing the search ...

Get Enterprise PowerShell Scripting Bootcamp now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.