Technology Insights

Send VBS Script Output To Text File On Windows

Earlier today I used a VBS script to scrub all the email addresses from a Windows Exchange server since I couldn’t find any other way to display all email addresses including any aliases assigned to specific users. I needed to find a secondary email address from one of the many domains configured on the server so I could remove it from a user and add it to another user. Anyhow when run the script would pop up this huge window that did not include scrollbars so it was impossible to find what I was looking for. Use the information below to output VBS script output to a text file on a Windows computer.