Solved

exchange shell and syntax

Posted on 2014-01-14
2
242 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
2 Comments
 
LVL 13

Accepted Solution

by:
Felix Leven earned 500 total points
Comment Utility
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
Comment Utility
many thanks..
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an email address policy 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 Mail Flow…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now