Powershell scripts I have written that can be useful for monitoring and/or data collection.
Keep in mind alot of the data is scrubbed from these, I try to make comments where you need to fill in the blanks but always test before running in production.