• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1293
  • Last Modified:

How to save long output of management shell to notepad

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
calljdub
Asked:
calljdub
  • 3
1 Solution
 
mass2612Commented:
Hi,

Try this: -

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

Open in new window

0
 
calljdubAuthor Commented:
the second worked for me - thanks!

jw
0
 
mass2612Commented:
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
 
mass2612Commented:
calljdub please accept my comment as the answer ID:22601105
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now