How to save long output of management shell to notepad

Posted on 2008-09-29
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
Question by:calljdub
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
LVL 29

Accepted Solution

mass2612 earned 250 total points
ID: 22601105

Try this: -

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

Open in new window


Author Comment

ID: 22601832
the second worked for me - thanks!

LVL 29

Expert Comment

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?
LVL 29

Expert Comment

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

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

726 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