Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

We have an old mail server running MS Exchange 5.5. I was asked to write a script to get the mailbox sizes, and found the MSDN article related to it.

 

When doing this as a script, I can get it to run fine, but the problem is that I don't know how to write it out to a text file. I can Echo it back, but then can't do anything with it; the cmd window won't let me copy the text.

 

I did try running it as an executable instead, and everything worked fine except for getting the actual information that I wanted! I think that had to do w/ the variables, but this is soupposed to be a quick fix for the IT Mgr, so I'm trying to spend as little time on it as possible.

 

Long story short, keeping this as a script, what should I be using for writing this out to a text file? It did not care for System.IO.Streamwriter, and anyone who has written script is probably saying duh!

 

FYI the server has Net 1.1 installed, but not Net 2.0.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...