IDE Channel Transfer Mode via WMI and PowerShell?
October 2, 2007 7:28 AM   Subscribe

IDE Channel Transfer Mode via WMI and PowerShell?

Scenario: User calls in, says their computer is running slowly. I waste 45 minutes with spyware scans, Windows updates, BIOS updates, startup tweaking, and driver updates before I remember to check and see if the hard drive has defaulted to PIO. Two minutes later the machine is running at full speed.

There's a separate issue here which involves me and my memory, but let's consider that a lost cause (I'd say the diagnosis is terminal).

What I want to do is write a PowerShell script (I'm assuming PowerShell is best suited to this, correct me if I'm wrong) that will query a list of machines (the specific source is irrelevant, I can script halfway decently, and I'll probably just use an IP range and a loop anyway) and return whether their Primary IDE Channel's Current Transfer Mode (quoting the XP Device Manager) is running in PIO or UDMA 5. I'm not asking anyone to write the script for me, I just need a pointer to the exact WMI Call I need to make.

I've used this program to peruse the WMI classes and can't find anything relevant. Win32_IDEController and Win32_IDEControllerDevice both are close, but don't seem to contain the appropriate property. (Pardon me if I've been using a turd of a program, it was the second Google hit. Please point fingers, laugh, and show me the right program to use.)
posted by mysterious1der to Computers & Internet (2 answers total)
Is the value stored in the registry? That seems a lot easier.
posted by mphuie at 8:55 AM on October 2, 2007

Response by poster: To my knowledge, the information is not stored in the registry (at least my google search and registry search turns up nothing). I searched 'udma' in regedit.exe and got no results.
posted by mysterious1der at 11:46 AM on October 2, 2007

« Older The bag came with three servings. Why should I...   |   Wireless networking problem Newer »
This thread is closed to new comments.