Yes the command works natively with the /node switch on the WMIC command. The problem is that this is a domain in a DMZ, and you can't run commands like this across the network due to firewall rules. The only thing open across all the different subnets in there is PSEXEC. Makes management a nightmare. My workaround will be to copy over a vbscript that will output the info to a single file, then pull all those files back with PSEXEC, then parse them all to a single file. Not fun, but a workable solution.
Thanks, Chris Bodnar, MCSE Sr. Systems Engineer Infrastructure Service Delivery Distributed Systems Service Delivery - Intel Services Guardian Life Insurance Company of America Email: [email protected] Phone: 610-807-6459 Fax: 610-807-6003 _____ From: Free, Bob [mailto:[email protected]] Sent: Wednesday, January 13, 2010 11:01 AM To: NT System Admin Issues Subject: RE: psexec and WMIC Can you remotely run the command natively within WMIC? I've seen cases where DCOM had to be tweaked for WMI over the network. (/user:[ ] /password:[ ] /node:[machine_name]) From: Christopher Bodnar [mailto:[email protected]] Sent: Wednesday, January 13, 2010 5:25 AM To: NT System Admin Issues Subject: psexec and WMIC I'm trying to run a WMIC command remotely using PSEXEC on a bunch of servers and getting this: Please wait while WMIC compiles updated MOF files. And it just hangs there. If I log on to the remote machine and run the WMIC command it works fine. Anyone see this before? Chris Bodnar, MCSE Sr. Systems Engineer Infrastructure Service Delivery Distributed Systems Service Delivery - Intel Services Guardian Life Insurance Company of America Email: [email protected] Phone: 610-807-6459 Fax: 610-807-6003 _____ This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you. ----------------------------------------- This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
