Help with a Powershell command
Results 1 to 9 of 9

Thread: Help with a Powershell command

  1. #1
    Join Date
    Jun 2001
    Posts
    448

    Question Help with a Powershell command

    Hi all. I'm trying to figure out a Powershell command I can use to get me the following information in a csv file. I'm not really proficient in powershell so this is extremely difficult. I'm just trying to find something that some has already used that I can give a try. I've tried this - https://gallery.technet.microsoft.co...e-and-3f408172 - and this - https://gallery.technet.microsoft.co...eport-c805970e - but haven't figured out how to edit them to do what I want or give me what I need. Any ideas? Again, all I need is what you see below for my entire organization. We have an Exchange 2007 server.


    DisplayName Company PrimarySmtpAddress Alias TotalItemSize(MB) Full Access Rights SendOnBehalf

  2. #2
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,063
    Do you have Excel available? If yes, load the .csv file from the script at your first link into Excel. You should then be able to eliminate unwanted columns and re-arrange the data as needed.

  3. #3
    Join Date
    Jun 2001
    Posts
    448
    Unfortunately the first script is missing some of the items I need so I either need to edit the script (no idea how to do that) or I need a new command or script I can run...

  4. #4
    Join Date
    Jun 2001
    Posts
    448
    That script is missing Company, Alias, Full Access Rights, Send on Behalf.

  5. #5
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,063
    Try this link:


    http://stackoverflow.com/questions/2...nge-management


    Get-Mailbox <your primary smtp address> | format-list *

  6. #6
    Join Date
    Jun 2001
    Posts
    448
    Thanks jdc2000. I'll check it out and get back to you.

  7. #7
    Join Date
    Aug 2013
    Posts
    2
    I checked it out. I've actually looked at it before, just didn't recognize the URL. It's not quite what I'm looking for, however. I can't get the information I'm looking for in either an export from the EMC or from the Powershell command.

  8. #8
    Join Date
    Jun 2001
    Posts
    448
    Sorry jdc2000. I replied with my other account, but that was me (Thrasonic). Thanks.

  9. #9
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,063
    2 more possibly useful links:

    https://www.pluralsight.com/blog/sof...ershell-script

    This link has info on how to display help in getting Exchange Server database info.

    http://exchangeserverpro.com/powersh...e-server-2010/

    This link has another script you can try.

    You could possibly modify the script in the second link you posted if you know what the exact Exchange Server field names for the data you wanted were.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •