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! My user accounts have commas in their CN attributes; for example, Myer, Ken. How do I bind to those user accounts using a script? I always get the error message “An invalid dn syntax has been specified.”-- GT
(image) (image)
Hey, GT. For those of you who don’t know, the CN attribute is the ...
(image)
Hey, Scripting Guy! I’d like to have a script that can search my computer for all files older than a certain date, and then automatically delete those files. Can I do that?-- GM(image) (image) (image)
Hey, GM. Can you write a script that will search for and delete all the old files on your computer? You bet. Should you write a ...
(image)
Hey, Scripting Guy! I have a script that pops up a message box to alert users to a problem. Is there any way I can play a sound at the same time the message box appears?-- TL(image) (image) (image)
Hey, TL. You guys do this on purpose, don’t you; you love to ask questions where there isn’t a clear-cut answer. This is yet ...
(image)
Hey, Scripting Guy! Is there a way to delete all the files in the Temporary Internet Files folder using a script?-- KR(image) (image) (image)
Hey, AK. You know, prompted by your question one of the Scripting Guys (who shall remain nameless) thought to himself, “Hmmm, I wonder what’s in my Temporary Internet Files folder?” ...
(image)
Hey, Scripting Guy! I’d like to have a form with four radio buttons on it, each button representing a different computer. You choose a radio button, click another button, and then a script runs against the computer you selected. How do I do that?-- CW(image) (image) (image)
Hey, CW. If we’re talking strictly VBScript and ...