The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
(image)
Hey, Scripting Guy! How can I retrieve information about the latest event added to an event log?-- HG(image) (image) (image)
Hey, HG. You know, it seems like only yesterday that someone was asking us how they could find the oldest event in an event log. And we remember how we told them that - oh, right: it was only yesterday, wasn...
(image)
Hey, Scripting Guy! How can I find the date of the oldest event in an event log?-- JL(image) (image) (image)
Hey, JL. You know, you just had to make a reference to “old” in your question, didn’t you? Just today one of the Scripting Guys received a letter from the American Association of Retired Persons (AARP). Although the ...
(image)
Hey, Scripting Guy! How can I count the number of computers in a domain?-- TN(image) (image) (image)
Hey, TN. Here’s a true story for you. About 5 years ago, when one of the Scripting Guys first started at Microsoft, his group here (which might not be the most technically-savvy group at the company) needed to get a count of all ...
(image)
Hey, Scripting Guy! How can I auto-delete specific file types from the My Pictures folder? If an error occurs with my fax machine, .drg and .txt files get added to My Pictures. I then have to delete these files before the fax machine will work again.-- WW(image) (image) (image)
Hey, WW. You know, this was a case where the Scripting...
(image)
Hey, Scripting Guy! How can I get a list of all the objects that have been added to Active Directory since a specified date?-- KR(image) (image) (image)
Hey, KR. First of all we’d like to apologize if our answer here is still a little soggy. No doubt you’ve seen cartoons where someone receives a package in the mail, they hear ...