?
Solved

How to save long output of management shell to notepad

Posted on 2008-09-29
5
Medium Priority
?
1,290 Views
Last Modified: 2010-05-18
How can I save the complete output of "get-receiveconnecotr | list" to a text file?

When I try the following I only get a portion of the output:  

get-receiveconnector | list | Out-File c:\OutputFile.txt
0
Comment
Question by:calljdub
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 1000 total points
ID: 22601105
Hi,

Try this: -

get-receiveconnector | format-list | export-csv c:\OutputFile.txt
 
get-receiveconnector | format-list > C:\OutputFile.txt

Open in new window

0
 

Author Comment

by:calljdub
ID: 22601832
the second worked for me - thanks!

jw
0
 
LVL 29

Expert Comment

by:mass2612
ID: 22601992
No worries. Don't forget to accept the comment ID:22601105 as an answer so that the question is closed.

How do I close a question?
http://www.experts-exchange.com/help.jsp#hi407
0
 
LVL 29

Expert Comment

by:mass2612
ID: 23811154
calljdub please accept my comment as the answer ID:22601105
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question