Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Remove Specified Commas from a Comma-Separated Values File?

Hey, Scripting Guy! I have a comma-separated values file in which several fields have a comma embedded in the field value; that’s causing problems when I try and import the information into another application. I was wondering if there is a way to remove all the commas that are enclosed inside double quote marks, leaving all the other ...

Hey, Scripting Guy! How Can I Retrieve Free/Busy Time From Microsoft Outlook?

Hey, Scripting Guy! How can I write a script that retrieves free/busy time from Outlook?-- JH Hey, JH. As we noted yesterday, the Scripting Guys are back from a whirlwind trip to Orlando, where we flew into town, delivered a pair of instructor-led labs (Windows PowerShell for VBScripters) and then – wanting to take advantage of all the ...

Hey, Scripting Guy! How Can I Run a Command-Line Tool Multiple Times and Save the Output to a Text File?

Hey, Scripting Guy! I’m trying to write a script that will run Fsutil.exe against all the drives on a computer. That’s pretty easy. However, I’d like to have all the output written to a text file rather than displayed on screen; that’s the part that I haven’t had much luck with. Any help here would be greatly appreciated.-- RS Hey...

Hey, Scripting Guy! How Can I Get a List of All the Styles in a Word Document?

Hey, Scripting Guy! Is it possible to get a list of all the styles available in a Word document?-- RK Hey, RK. Believe it or not, TechEd Orlando is over, at least for the Scripting Guys. Admittedly, it was a somewhat abbreviated trip: we flew in, presented a couple of instructor-led labs, and now we’re getting ready to fly back home. That...

Hey, Scripting Guy! How Can I Get a Script to Pick Up Where It Left Off After a Reboot?

Hey, Scripting Guy! I would like to write a script, with a number of sequential actions, that can continue where it left off after a reboot. How can I do that?-- GS Hey, GS. By the way, what are you doing at 10:00 AM Eastern Daylight Time today? Nothing? Great; then we’ll see you at the Orange County Convention Center for our 10:00 ...

Feedback usabilla icon