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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.