Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Determine the Default Buffer Size for the Command Window?

Hey, Scripting Guy! How can I determine the default buffer size for the command window?-- GO Hey, GO. You know, some of you might be wondering, “Why a daily scripting column? Why not, say, a daily scripting TV show?” That’s a good question, and there are a number of reasons for that. For one thing, there’s the fact ...

Hey, Scripting Guy! How Can I Delete All the .CSG Files on Drive C of a Computer?

Hey, Scripting Guy! How can I delete all the .csg files on drive C of a computer?-- DL Hey, DL. You know, it’s funny how quickly things can change. Just a few hours ago the Scripting Guy who writes this column was in such a bad mood that he had no intention of explaining to you (or anyone else for that matter) how they could delete ...

Hey, Scripting Guy! How Can I Get a List of All the Subfolders in a Folder and Then Put That List Into an Array?

Hey, Scripting Guy! How can I get a list of all the subfolders in a folder and then put that list into an array?-- PW Hey, PW. We know how anxious you’ve all been, waiting to hear whether the Scripting Guys were successfully moved from Building 43 to Building 42 (yes, directly across from their old building). Well, about the best we ...

Hey, Scripting Guy! How Can I Convert an Office Excel Spreadsheet to XML?

Hey, Scripting Guy! How can I convert an Office Excel spreadsheet to XML?-- KE Hey, KE. We apologize in advance if today’s column seems a little rushed; at the moment, we’re sitting in an office, surrounded by boxes and packing crates and waiting for the movers to come in and clear everything out. And no, the Scripting Guy who ...

Hey, Scripting Guy! How Can I Start Office Outlook If It Isn’t Already Running?

Hey, Scripting Guy! How can I determine if Office Outlook is running and, if it isn’t, start it?-- NA Hey, NA. You know, this past weekend the Scripting Guy who writes this column found himself wandering through the local shopping mall, a turn of events which left him very uneasy, almost fearful. Why? Well, the last time he’d ...

Feedback usabilla icon