Chapter 13. Creating the Windows Server Scanning Script and Post-Execution Cleanup
When you are running systems in a large enterprise, you often need to identify information about different servers in your environment. While you could manually evaluate items on each server to determine its role, you most likely will want to automate that process. As you worked through this book, you learned multiple facets to scanning and identifying non-standard configurations on servers using PowerShell. You also learned how to optimize code to significantly increase the performance of your scripts. These examples led you up to this chapter, which combines all of the concepts that you learned into a single Windows server scanning script.
The Windows server scanning script was developed to provide a deep insight into a server's roles and functions in an environment. When you execute the Windows server scanning script against your environment, you can quickly view non-default configurations that make the...