+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
Enterprise Software Thread, Tidy up exchange 2010 journaling mailbox in Technical; Hi, I am setting up an exchange server. I have configured journaling, a copy of each email sent in the ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453

    Tidy up exchange 2010 journaling mailbox

    Hi,

    I am setting up an exchange server. I have configured journaling, a copy of each email sent in the system goes to this mailbox. They just get dumped into the inbox.

    Does anyone know anything or have a system i can do to help tidy these up and manage these messages please?

    Thanks

  2. #2
    eddyc's Avatar
    Join Date
    Aug 2008
    Location
    Bristol
    Posts
    438
    Thank Post
    99
    Thanked 47 Times in 43 Posts
    Rep Power
    22
    At my last school we would make a new jounaling mailbox at the start of the year and dismount the old one and store it away from the server on a USB drive kept in a safe.
    Keeps each year seperate and off of the live server but allows them to be revisited as required.

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Well i was thinking about exporting .PST every month or so. There are 1,500 users so allot of mail going around.

  4. #4
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    249
    Thank Post
    72
    Thanked 34 Times in 23 Posts
    Rep Power
    31
    Hello
    Exporting to pst every day is what I am doing at the mo. just a power shell script on a scheduled task. Works a treat

    Cheers

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Can i see that script please?

    Thanks

  6. #6

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,157
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    At the moment I do this each month but would be interested to see the script also.

  7. #7
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    249
    Thank Post
    72
    Thanked 34 Times in 23 Posts
    Rep Power
    31
    Sorry not been able to grab 5 minutes yet. Will post it later tonight.

  8. #8
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    249
    Thank Post
    72
    Thanked 34 Times in 23 Posts
    Rep Power
    31
    Hello Chaps / chapets
    Here is my power shell script

    $dtoday = get-date -format "dd-MM-yyyy"
    New-Item Y:\$dtoday -type directory -Force
    export-Mailbox -Identity journal@domain.com -PSTFolderPath y:\$dtoday\$dtoday.pst -DeleteContent -confirm:$false

    All it does is create a folder with todays date then exports the journal mailbox into that folder with a created pst with the same date.
    Normally export-mailbox to pst leaves the items in place (strange when the command is export)
    So the –deletecontent –confirm:$false does the deletion
    Save the script as .ps1 and run it from a scheduled task. You can run the script as many times a day as you need, it will only create one folder and pst per day.
    The machine you schedule the task on will need the exchange powershell snapin added.
    Hope this helps
    Cheers

  9. Thanks to ozydave from:

    FN-GM (20th May 2012)

  10. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Thanks @ozydave what permissions does the user have who you run this under please?

    Thanks

  11. #10
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    249
    Thank Post
    72
    Thanked 34 Times in 23 Posts
    Rep Power
    31
    Hello FN_GM
    Sorry not been on for a few days again.
    I am an exchange admin so i had to give myself full permissions on the journal mailbox first

    add-mailboxpermissions -identity journal@domain.com -user exchangeadmin -accessrights fullaccess

    This should do the trick

    Thanks

  12. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    I have finally got around to doing this. Do you have any thoughts on this error please?

    Thanks
    Attached Images Attached Images

  13. #12
    ascott2's Avatar
    Join Date
    Nov 2007
    Posts
    181
    Thank Post
    18
    Thanked 37 Times in 29 Posts
    Rep Power
    20
    I have finally got around to doing this. Do you have any thoughts on this error please?
    You don't have the Exchange cmdlets loaded. Either run the script from the exchange management shell, or run a remote powershell session to the Exchange server.
    Last edited by ascott2; 12th June 2012 at 10:13 AM. Reason: forgot quote

  14. #13

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,045
    Thank Post
    888
    Thanked 1,727 Times in 1,490 Posts
    Blog Entries
    12
    Rep Power
    453
    Quote Originally Posted by ascott2 View Post
    You don't have the Exchange cmdlets loaded. Either run the script from the exchange management shell, or run a remote powershell session to the Exchange server.
    I do have them loaded, i have also tried within the Exchange Management Shell. Please see the attached.

    Thanks
    Attached Images Attached Images

  15. #14
    markcuk's Avatar
    Join Date
    Sep 2005
    Posts
    586
    Thank Post
    29
    Thanked 60 Times in 55 Posts
    Rep Power
    38
    pretty sure the export-mailbox command was taken out exchange 2010 I was trying to export mailboxes last week. You have to use the following command New-MailboxExportRequest: Exchange 2010 Help

  16. Thanks to markcuk from:

    FN-GM (12th June 2012)

  17. #15
    ascott2's Avatar
    Join Date
    Nov 2007
    Posts
    181
    Thank Post
    18
    Thanked 37 Times in 29 Posts
    Rep Power
    20
    I think you need to explicitly add the import export mailbox permission to the role before you can see the cmdlet. Take a look here Add the Mailbox Import Export Role to a Role Group: Exchange 2010 Help

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Exchange 2010, exporting mailboxes to .pst.
    By sch in forum Enterprise Software
    Replies: 14
    Last Post: 4th March 2013, 06:20 PM
  2. Setting up Exchange 2010 SSL for OWA, ActiveSync etc
    By MrWu in forum Enterprise Software
    Replies: 1
    Last Post: 15th January 2012, 08:20 PM
  3. Replies: 2
    Last Post: 12th August 2010, 12:15 PM
  4. Microsoft Exchange 2010 (New Setup - 2000 mailbox)
    By RobFuller in forum Internet Related/Filtering/Firewall
    Replies: 6
    Last Post: 13th March 2010, 02:35 PM
  5. Replies: 1
    Last Post: 4th September 2007, 07:49 AM

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
  •