After my blog post about the server diagnostics lifecycle, PerfMon and PAL, many of you asked me how the report automation could be set up. In this post, I’ll therefore outline a couple of ideas and provide you with some guidelines on how automation of PerfMon and PAL could be configured and scheduled in practice. In this post, you will find information on how to configure PerfMon and how to execute PAL from PowerShell to create fully automated diagnostics reports on a regular basis.
Using service accounts managed in active directory to have detailed security control of the technical applications is a best practice. A while ago, one my clients experienced a major issue in their production environment, and this due to an expired technical service account. To anticipate similar behavior in the future and avoid further impact on other applications, we created a small PowerShell script to scan the entire or parts of the active directory for those kind of misconfigured settings.