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 get a list of all the .pst files on a computer - along with their size and their location - and then save that information to a comma-separated values file?-- DC(image) (image) (image)
Hey, DC. If you hang around baseball fields long enough sooner or later you’ll hear someone use the expression...
(image)
Hey, Scripting Guy! How can I print a test page to a printer?-- RR(image) (image) (image)
Hey, RR. As long as you’re running Windows XP this is an easy one; that’s because the revised Win32_Printer class introduced in Windows XP includes a method called PrintTestPage. As you might expect, this means you can bind to a given ...
(image)
Hey, Scripting Guy! How can I convert a comma-separated values file to a tab-separated values file?-- RV(image) (image) (image)
Hey, RV. Depending on the nature of your comma-separated values (CSV) file this is either very easy or a little bit tricky. Let’s follow the Scripting Guys Philosophy of Life and look at the easy one ...
(image)
Hey Scripting Guy! How can I delete a folder and all its subfolders?-- FB(image) (image) (image)
Hey, FB. You know, a lot of people think the Scripting Guys know everything there is to know about scripting. Let’s put it this way: we wish. In fact, it’s only when we begin to think that we do know something about scripting that ...
(image)
Hey, Scripting Guy! Is there any way to monitor a folder for file creations and deletions, all with just one script?
-- HA(image) (image) (image)
Hey, HA. By the way, thanks for the question: you temporarily saved us from answering a different question, one that was proving a bit difficult thanks to some surprising ...