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… Read more

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… Read more

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,… Read more

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… Read more

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?… Read more

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

Troubleshooting the “Object Is Required” Error   Hey, Scripting Guy! I am having a problem with my script. It keeps coming back and saying that an object is required. Why does it do that? – KA Hi KA, “Object required” is very generic. It means that (wait for it) an object is required. It happens… Read more

Hey, Scripting Guy! How Can I Find Locked-Out Accounts?

Hey, Scripting Guy! I know we probably should not do this, but we have account lockout set at work. If a user types in too many bad passwords, they are locked out forever. It requires a call to the help desk to have their account unlocked. The problem is that some users who are shall… Read more

Hey, Scripting Guy! How Can I Find Old Computer Accounts?

Hey, Scripting Guy! We have had a number of changes at our company recently. As a result, our Active Directory Domain Services (AD DS) installation is somewhat shabby. Okay, a lot shabby. When I go into AD DS Users and Computers and look through it, I cannot tell which computers are supposed to be there… Read more

Hey, Scripting Guy! How Can I Find Expiring Passwords?

Hey, Scripting Guy! The pointy headed boss (PHB) is at it again. He has decided he does not like it when users do not change their password when prompted. As a result, he wants me to produce a report once a week of all the users who will have to change their password next week…. Read more

Hey, Scripting Guy! How Can I Locate Missing Attributes in Active Directory Domain Services?

Hey, Scripting Guy! Why do some guys seem to get away with anything at work? I mean just because they spend all their time drinking coffee with the boss does that mean they do not have to do any work? You say you need examples? Consider our Active Directory Domain Services (AD DS). The users… Read more