Logging results to a text file

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
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.
Locked
User avatar
cybersnac
Posts: 6
Joined: Fri Feb 16, 2007 3:16 am

Logging results to a text file

Post by cybersnac » Fri May 25, 2007 5:40 am

Can anyone help me with the code needed to log the results of a vbscript to a text file?

The basic process I'm doing is copying a host file to multiple client machines, not on a domain and I need to know which machines the script successfully connects to with the credentials I'm logged in with and which ones it fails on.

Thanks for any help you can give.

User avatar
cybersnac
Posts: 6
Joined: Fri Feb 16, 2007 3:16 am

Logging results to a text file

Post by cybersnac » Fri May 25, 2007 5:40 am

Can anyone help me with the code needed to log the results of a vbscript to a text file?

The basic process I'm doing is copying a host file to multiple client machines, not on a domain and I need to know which machines the script successfully connects to with the credentials I'm logged in with and which ones it fails on.

Thanks for any help you can give.

Locked