Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/28/08)

“File Not Found” Error When Trying to Run a PowerPoint Presentation from the Windows XP Desktop   Hey, Scripting Guy! I have a problem when I try to run a Microsoft Office PowerPoint slideshow that I have saved on the desktop of my Windows XP computer. I cannot get this stupid thing to work. It keeps giving me a “File not found” ...

Hey, Scripting Guy! How Can I Pull Server Diagnostic Information and Have It Saved in an Excel Spreadsheet with a Chart?

Hey, Scripting Guy! Good morning. I would like to use WMI to get diagnostic information for my server. I would like to be able to do this remotely and to write the results to an Excel spreadsheet. When I am done, I would like the spreadsheet to also create a chart of the results. Is this asking too much? I have seen pieces of all this on the...

Hey, Scripting Guy! How Can I Collect Processor Information?

Hey, Scripting Guy! I am interested in using Windows PowerShell to collect processor information, but I do not need to see the raw data. I would rather see calculated results such as the maximum, minimum, and average processor utilization. I know I can do this, but that seems like writing a lot of math formulas, and I just am not in the mood...

Hey, Scripting Guy! How Can I Determine the Average Process Utilization for My Computer?

I would like to determine the average processor utilization for my computer over a certain period of time. If I could run this remotely, it would be even better. Can this be done?- MP Hi MP, We can certainly do this. In fact, it can be done both locally and remotely. But you do need to be careful of the Heisenberg uncertainty principle. ...

Hey, Scripting Guy! How Can I Control the Data Returned by the Performance Monitor Tool?

Hey, Scripting Guy! I really like using the Microsoft Performance Monitor (PerfMon) tool to examine the various things in Windows Server, but I would like to have more control over the data that it retrieves. I am never sure what it is actually telling me, or how it makes its calculations. Does this make sense?- SK Hi SK, There are lots of ...