We use this to keep track of domain users. We watch for logins that are getting old, and disable the account. This will email a list of all active (non-disabled) users last login date/time, to the email address defined. You will need an email to send this from also.
I like data. I’ve always been a bit of a data junky. In my personal life, I’ve found looking at the data is usually interesting but not terribly useful. But at work, I identify issues all of the time just by keeping different data up on my dashboards. This write up however, is for my home, and my new Nest thermostat. I was so excited to get this thing, I was curious about a dozen different aspects of these smart thermostats. However, I was terribly disappointed when I got it installed and working and realized that the Nest only stores the last 10 days worth of data. My assumption is they keep all the data (doesn’t everybody?) but for speed purposes they only let the customer access the last 10 days. Whatever, its frustrating, but its not like their going to change it for little old me.
Imagine my surprise when I discovered they have an API that the customer can access. I had been bitching about the fact that Nest doesn’t give the customer access to this data, like on the website or something.. somewhere at least. About 3 weeks later my buddy Buddah sends me this link that I guess showed up on his FaceBalls.
… I may have gotten a lil chub from this.
A simple one line PowerShell command that will pull the Windows update status on all domain pc’s.
This script monitors a folder of folders for when they were last touched. It will email any that haven’t been touched in the last 7 days.