Here's the rub. I want to use a script, be it vbs, batch, etc. to find out or query what devices are currently active on a Windows XP machine. So, the code structure would look like this . . .
IF PrinterIsPluggedIn: ShowDialog: "Yo, your HP is pugged in."
ELSE: Do nothing.
That's the basic theoretical concept. Do we have any experts in this area on this forum? (Method does not matter, just the goal does).
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!