Solved

exchange shell and syntax

Posted on 2014-01-14
2
253 Views
Last Modified: 2014-01-14
firstly, how can you get to the exchange management shell on a 2008 windows server, could you show me with screenshots? i am very new to exchange..

And secondly, I have a few shell commands to run, i.e.

Get-PublicFolderDatabase | Select Name, Identity, MountAtStartup
Get-PublicFolderDatabase| Select Name, Identity, RetainDeletedItemsUntilBackup

I want the output to format as csv, I beleive there is a csv export feature, how could I tweak the above commands to export to csv, i.e. to c:\output\1.csv? Can anyone assist?
0
Comment
Question by:pma111
[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
2 Comments
 
LVL 13

Accepted Solution

by:
Felix Leven earned 500 total points
ID: 39778715
The shell can be found by Default in your Startmenue called "Exchange Management Shell" or you can create a shortcut yourself:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-E"

Open in new window

Get-PublicFolderDatabase | Select Name, Identity, MountAtStartup | Export-Csv c:\output\1.csv

Open in new window

Get-PublicFolderDatabase| Select Name, Identity, RetainDeletedItemsUntilBackup | Export-Csv c:\output\1.csv

Open in new window

0
 
LVL 3

Author Comment

by:pma111
ID: 39778721
many thanks..
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Read this checklist to learn more about the 15 things you should never include in an email signature.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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