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 re-launch Internet Explorer if no other instances are running?-- MT(image) (image) (image)
Hey, MT. Thanks for the question. You know, nowadays everyone picks on poor little Internet Explorer (even though the vast majority of Windows users still use Internet Explorer). But now we have a question from ...
(image)
Hey, Scripting Guy! How can I disable a service?-- DS(image) (image) (image)
Hey, DS. You know, the Scripting Guys seem to have stumbled upon a great idea. In our last column, we showed people how to disable the LMHosts file. Today, we’re going to show everyone how to disable a service. If we continue down this path, we’ll soon...
(image)
Hey, Scripting Guy! How can I prevent a computer from using the LMHosts file?-- MJ(image) (image) (image)
Hey, MJ. You know, this was an interesting one, at least for the Scripting Guys. Not because the script was hard to write; that was actually pretty easy. What was hard - at least for us - was to find the LMHosts setting in the ...
(image)
Hey, Scripting Guy! How can I format an Excel spreadsheet so that it retains leading zeroes?-- AS(image) (image) (image)
Hey, AS. You know, one of the Scripting Guys still has nightmares about the number zero. Several years ago he got a phone call from a friend of his wondering if he’d be interested in helping coach a youth ...
(image)
Hey, Scripting Guy! How can I truncate names to a maximum of 16 characters?-- BN(image) (image) (image)
Hey, BN. Brace yourself: it’s time for another trip down memory lane. When one of the Scripting Guys was going to college, he took a temporary summer job with the Green Giant Corporation, working in the office that oversaw the ...