Server Health Check Report (PS)
Server Health Check
It will give max health detail of server like below.
• Top 20 Sys Error, Warning.
• Service stopped details.
• Memory and CPU usages.
• Last patching details.
• Server information with BPA.
• Dsik space usages and errors.
• And much more.
Works very well! No real need to tweak as is very comprehensive but written very well, so making changes to it is very easy. Great if you have an 'ops' team to analyse on a regular basis, otherwise great as a diagnostic tool.
Good scripts, will be editing it a bit but really gonna save us a lot of time!
In the agent procedure the execution policy is bypassed, but the script sets the execution policy to unresticted en most importantly, it's never set back to it's original setting...
^ this! Why would you set the execution policy in the script?...If the current execution policy is going to prevent this powershell script from running, changing the execution policy is a bit pointless don't you think?
Catch-22 problem. If you need to set the execution policy to allow the script to run, well that has to happen outside the script, since the script itself can't start if the policy isn't correct. By the time the script is running, you already have adequate policy.