Solved

How to save long output of management shell to notepad

Posted on 2008-09-29
5
1,285 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
  • 3
5 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 250 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

776 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