Hi!
In a WMI environment,
i try to execute the ipconfig command for example on a remote computer and capture the result on my wokstation but i don't see any ways to get this work.
I don't want to use psexec.
Is somebody can give me any clue....
how capture remote output
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: how capture remote output
WMI can get that information directly. There is no need for remoting.
Use Win32_NetowrkAdapter and WIn32_NetworkAdapterConfiguration.
You cannot easily remote IPDCONFIG with WMI. It can be don but takes may steps to create a remote file and return the file. WMI was designed to eliminate the need for this kind of thing.
Use Win32_NetowrkAdapter and WIn32_NetworkAdapterConfiguration.
You cannot easily remote IPDCONFIG with WMI. It can be don but takes may steps to create a remote file and return the file. WMI was designed to eliminate the need for this kind of thing.
Re: how capture remote output
Here is an example of using WMI to get IPCONFIG information.
This example was auto-generated using the Sapien WMI Wizard.
This example was auto-generated using the Sapien WMI Wizard.
- Attachments
-
- Win32_NetworkAdapterConfiguration.vbs.txt
- VBS of WIn32_NetworkAdapterConfiguration
- (4.46 KiB) Downloaded 593 times
Re: how capture remote output
Roger - one itrem you should address. Don't post your eamil address as you ID. Spam bots will find it and you will be inundated with spam. This site allows annonymous email through the sites so you do not need to divulge your address.