Exchange 2010 SP1 - Export to PST, Remove Mailbox

I'm looking for a PowerShell script that will allow me to use Exchange 2010 SP1 to export a mailbox to PST and then when finished, delete the user and mailbox. I typically do this process manually about 6 months after an employee leaves the company (allowing
for live access to the mailbox and message forwarding to their supervisor).
Ideally, the script would take input for a mailbox ID, and then export the file to a file of the mailbox name (Prompt: jdoe -> New-MailboxExportRequest -Mailbox jdoe -FilePath \\server\path\jdoe.pst). After the export is complete, it would schedule the
mailbox for complete removal and remove the completed mailbox export request. The prompt and export process should be simple enough, but I suspect the difficulty will come with monitoring for the completed request before acting on the removal.
Thanks for any help provided! :)

Thanks for the guidance!
I think I was able to come up with something that will do the trick nicely:
$Name = Read-Host "Please enter a mailbox to archive"
New-MailboxExportRequest -Mailbox $Name -FilePath \\Exchange\C$\ExchangeExports\$Name.pst
while ((Get-MailboxExportRequest -Mailbox $Name | Where {$_.Status -eq "Queued" -or $_.Status -eq "InProgress"}))
sleep 60
Get-MailboxExportRequest -Mailbox $Name | Remove-MailboxExportRequest -Confirm:$false
Remove-Mailbox -Identity $Name -Confirm:$false
Hopefully it may help others.

Similar Messages

  • Owa working but outlook cant connecting to the new mailbox in Hosted exchange 2010 SP1

    hi i recently join one organization they having Hosted Exchange 2010 Sp1 i created one new organization Unit and created 
    new MailBox but didnt give any permissions so when i try to connect to OWA then i log in and send and recive e-mails but when i try to connect to Outlook it say the name not found ...........
    please help me

    Hi sorry for so late respons i was on leaves .
    new User not connected automatically getting the message "user name Not found " also when i try to connect manually the error message " there is problem with the security certificate. the name on the security certificate is invalid or does not match ..." also
    Outlook some problem with some old Mailboxes
    from Exerca i get the following errors i.e Certificate related 
    The Microsoft Connectivity Analyzer is attempting to test Autodiscover for [email protected].
      Autodiscover was tested successfully.
    Additional Details
        Elapsed Time: 2927 ms.
    Test Steps
            Attempting each method of contacting the Autodiscover service.
      The Autodiscover service was tested successfully.
    Attempting to test potential Autodiscover URL https://xyz.co.uk/AutoDiscover/AutoDiscover.xml
      Testing of this potential Autodiscover URL failed.
    Additional Details
             Elapsed Time: 417 ms.
    Test Steps
    Attempting to resolve the host name xyz.co.uk in DNS.
      The host name resolved successfully.
    Additional Details
    Testing TCP port 443 on host xyz.co.uk to ensure it's listening and open.
      The port was opened successfully.
    Additional Details
    Testing the SSL certificate to make sure it's valid.
      The SSL certificate failed one or more certificate validation checks.
    Additional Details
    Test Steps
    The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server xyz.co.uk on port 443.
      The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate.
    Additional Details
    Validating the certificate name.
      Certificate name validation failed.
      Tell me more about this issue and how to resolve it
    Additional Details
        Attempting to test potential Autodiscover URL https://autodiscover.xyz.co.uk/AutoDiscover/AutoDiscover.xml
      Testing of this potential Autodiscover URL failed.
    Additional Details
    Test Steps
    Attempting to resolve the host name autodiscover.xyz.co.uk in DNS.
      The host name resolved successfully.
    Additional Details
    Testing TCP port 443 on host autodiscover.xyz.co.uk to ensure it's listening and open.
      The port was opened successfully.
    Additional Details
    Testing the SSL certificate to make sure it's valid.
      The SSL certificate failed one or more certificate validation checks.
    Additional Details
    Elapsed Time: 270 ms.
    Test Steps
    The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server autodiscover.xyz.co.uk on port 443.
      The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate.
    Additional Details
    Validating the certificate name.
      Certificate name validation failed.
      Tell me more about this issue and how to resolve it
    Additional Details
        Attempting to contact the Autodiscover service using the HTTP redirect method.
      The Autodiscover service was successfully contacted using the HTTP redirect method.
    ..........................   Please help me how to resolve

  • Exchange 2010 SP1 management console fail

    Exchange 2010 SP1 management console fail on local exchange servers.
    The following error occurred while attempting to connect to the specified Exchange server CAS123.domain.co.za
    The attempt to connect to
    http://cas123.domain.co.za/PowerShell using “kerberos” authentication failed: Connecting to remote server failed with following error message: The WS-Management service cannot process the request because IP address cas123.domain.co.za is invalid. For more
    information, see the about_Remote_Troubleshooting Help topic.
    However do note that the Exchange Management Shell also fails with the exact same error on both my CAS and Mailbox servers.
    Though I am still able to open both tools via my backup server.
    All ells works fine.
    nslookup resolves the exchange servers as they should be. Frankly I am stumped as to the invalid IP address.
    My exchange environment have been running problem free for years and this problem only occurred last week Thursday after some .NET updates.

    Hi,
    As per the information and details provided by you, the only thing that I can figure out is that: -
    You receive an error: Exchange 2010 SP1 management console fail.
    There are two methods to resolve this problem: -
    Method 1: -
    Close all MMC/EMC instances before proceeding.
    Open the Registry editor (regedit) as the user you run the EMC under.
    Go to
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\ExchangeServer\v14\AdminTools
    Look for value, Node structure setting.
    If it is there, back it up and then remove it.
    Method 2: -
    Close all MMC/EMC instance before proceeding.
    Open powershell or powershell IDE as the user you run the EMC under and execute the following command:
    Remove-Item Property- Path
    HKCU:\Software\Microsoft\ExchangeServer\v14\AdminTools\ -Name NodeStructureSettings
    Close Powershell
    I hope this information will be helpful for you. Correct me if the information that I am having is wrong.
    Thanks and regards
    Ashish@V

  • Delete emails from a specific folder in Exchange 2010 SP1

    Hi all,
     Since Exchange 2010 SP1 does not have “-DeleteContent” parameter in mailboxexportrequest any more, how do we delete emails from a specific folder of a user mailbox? (Personal folder, not default folders).
    Please note that the ASQ for searchquery in Search-Mailbox does not support “folder”.
    If going for retention policy, is there a way to tag a retention policy to a specific folder of a user mailbox without user attention?
    William Yang
    William Yang

    Hi William,
    Yes, you may not run the Search-Mailbox to delete items in specific folder at the moment. Hope it will be back soon.
    You can create a Personal tag, users can apply personal tags to folders they create. But users have to select related Retention Policy using Outlook or OWA manually.
    For more information, please see:
    Understanding Retention Tags and Retention Policies
    http://technet.microsoft.com/en-us/library/dd297955.aspx
    Frank Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Upgrade From Exchange 2010 SP1 to SP3 - Schema Upgrade Question

    Hello,
    We're currently running Exchange 2010 SP1 in our environment and want to upgrade to SP3.  I just had a couple of questions related to preparing AD for this new SP that I was hoping that someone could answer.
    Setup
    We have a single forest with two domains within it (A and B for example).  The schema master is in Domain A but this domain doesn't contain any Exchange 2010 servers.  Domain B contains our 2010 CAS and Mailbox servers.
    Both domains have Windows 2003 SP2 domain controllers.
    I understand that before I proceed with the upgrade to SP3, I first need to update the AD schema on our schema master. I was planning on doing the following :
    Log onto an existing Windows 2008 R2 64 bit "member" server in domain A (containing the schema master) with an account which is a member of the Schema Admins and Enterprise Admins groups.
    Run SETUP.EXE /PrepareAD.
    Do I need to also run SETUP.EXE /PrepareDomain on domain A as well or does the /PrepareAD sort this out ?
    I was then going to turn my attention to domain B (which contains the 2010 CAS and Mailbox servers) and do the following :
    Log onto an existing Windows 2008 R2 64 bit 2010 Mailbox server with an account which is a member of the Domain Admins and Enterprise Admins groups.
    Run SETUP.EXE /PrepareDomain
    Is this the correct procedure to follow ?  I assume that I can then go ahead and start to upgrade the Exchange 2010 SP1 servers in the following sequence :
    CAS\HUB Server(s)
    Mailbox Server(s).
    Clarification on the AD upgrade steps would be appreciated.
    Thanks
    Mark

    This has all the info you need:
    http://technet.microsoft.com/en-us/library/bb125224(v=exchg.141).aspx
    Prepare Active Directory and Domains
    and
    http://technet.microsoft.com/en-us/library/bb629560(v=exchg.141).aspx
    Upgrade Exchange 2010 to Exchange 2010 SP1, Exchange 2010 SP2, or Exchange 2010 SP3
    Note: There is no harm in simply running setup/PrepareAllDomains.
    You should break out each Prep step since you have multiple domains:
    setup/PrepareSchema
    setup /PrepareAD
    setup /PrepareAllDomains
    you can run all of these from the same DC you run the setup/PrepareSchema step!
    Twitter!:
    Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Exchange 2010 SP1 Update Rollup 6 to Exchange 2010 SP3

    Hi there,
    I am planning to install Exchange 2010 SP3 next week and after reading some of the related comments on this site I got a little worried.
    Our current Exchange environment consists of the following:
    1 x CAS/HT Server
    2 x Mailbox Server (members of a DAG)
    The OS of the 3 servers is Windows Server 2008 R2 SP1. All servers are running Exchange 2010 SP1 Update Rollup 6.
    The Execution Policies on our Exchange servers are set as follows:
    – CAS/HT Server:
      Scope ExecutionPolicy
      MachinePolicy Undefined
      UserPolicy Undefined
      Process Undefined
      CurrentUser Undefined
      LocalMachine Unrestricted
    – Mailbox Servers:
      Scope ExecutionPolicy
      MachinePolicy Undefined
      UserPolicy Undefined
      Process Undefined
      CurrentUser Undefined
      LocalMachine RemoteSigned
    Please note that we do not have any Group Policies that defined the PowerShell script execution policy.
    I would be very grateful if you (or any of the kind readers) could help me with following questions:
    1- Do I have to change the execution policy on our Exchange servers before installing SP3? If I have to change a policy, what should I change? And how would you recommend I should do this?
    2- After installing SP3 on a server, can I install the latest rollup update on this server before moving to the next server? For example, can I do the following:
      i. Install SP3 followed by RU 5 on the CAS/HT server -> Apply the our custom settings
      ii. Install SP3 followed by RU 5 on the first mailbox server
      iii. Install SP3 followed by RU 5 on the second mailbox server
    Many thanks,
    M

    Hi Amit,
    Many thanks for the swift reply.
    That's correct.  We didn't set the Powershell execution policy via Group Policy.  We only configured the execution policy of "LocalMachine" to "Unrestricted" on the CAS/HT server using the "Set-ExecutionPolicy" command on the server.
    The mailbox servers' execution policies have not been changed and are set to those values by default.
    I must admit, I go event more confused when I read the "http://support.microsoft.com/kb/2668686" and "http://support.microsoft.com/kb/2810617" articles.
    But it looks like I shouldn't worry as our current Powershell execution policies shouldn't affect the upgrade. Right?

  • Exchange 2010 SP1 install fails with -1603 error

    I am getting a -1603 error when installing Exchange 2010 SP1.  Installation fails when copying files/removing old version with the following error:
    [10/01/2010 23:17:06.0823] [2] Beginning processing uninstall-MsiPackage -ProductCode:'6574fdc2-40fc-405a-9554-22d1ce15686b' -LogFile:'C:\ExchangeSetupLogs\InstallSearch.msilog'
    [10/01/2010 23:17:06.0847] [2] Removing MSI package with code '6574fdc2-40fc-405a-9554-22d1ce15686b'.
    [10/01/2010 23:17:09.0400] [2] [ERROR] Unexpected Error
    [10/01/2010 23:17:09.0401] [2] [ERROR] Couldn't remove product with code 6574fdc2-40fc-405a-9554-22d1ce15686b. Fatal error during installation. Error code is 1603.
    [10/01/2010 23:17:09.0401] [2] [ERROR] Fatal error during installation
    [10/01/2010 23:17:09.0409] [2] Ending processing uninstall-MsiPackage
    [10/01/2010 23:17:09.0411] [1] The following 1 error(s) occurred during task execution:
    [10/01/2010 23:17:09.0412] [1] 0.  ErrorRecord: Couldn't remove product with code 6574fdc2-40fc-405a-9554-22d1ce15686b. Fatal error during installation. Error code is 1603.
    Does anyone know how to resolve this?
    Thanks,
    greg

    Hi Frank,
    I've the same problem when I try to install the SP2.
    When I try to install RU 4v2, 5 or 6, then comes error 2771. So I waiting for SP2 in the hope, a full install of the SP will fix this.
    But the setup broke with the following entries:
    [12.07.2011 19:51:59.0379] [0] Setup will run the task 'uninstall-msipackage'
    [12.07.2011 19:51:59.0379] [1] Setup launched task 'uninstall-msipackage -logfile 'C:\ExchangeSetupLogs\ExchangeSetup.msilog' -ProductCode '4934d1ea-be46-48b1-8847-f1af20e892c1' -PropertyValues 'BYPASS_CONFIGURED_CHECK=1 DEFAULTLANGUAGENAME=DEU''
    [12.07.2011 19:51:59.0379] [1] Die Active Directory-Sitzungseinstellungen für 'Uninstall-MsiPackage' lauten: Vollständige Gesamtstruktur anzeigen: 'True', Konfigurationsdomänencontroller: 'LicPDC.kh-lichtenstein.local', Bevorzugter globaler Katalog:
    'LicPDC.kh-lichtenstein.local', Bevorzugte Domänencontroller: '{ LicPDC.kh-lichtenstein.local }'
    [12.07.2011 19:51:59.0379] [1] Beginning processing uninstall-msipackage -LogFile:'C:\ExchangeSetupLogs\ExchangeSetup.msilog' -ProductCode:'4934d1ea-be46-48b1-8847-f1af20e892c1' -PropertyValues:'BYPASS_CONFIGURED_CHECK=1 DEFAULTLANGUAGENAME=DEU'
    [12.07.2011 19:51:59.0410] [1] Removing MSI package with code '4934d1ea-be46-48b1-8847-f1af20e892c1'.
    [12.07.2011 19:52:04.0551] [1] [ERROR] Unexpected Error
    [12.07.2011 19:52:04.0551] [1] [ERROR] Couldn't remove product with code 4934d1ea-be46-48b1-8847-f1af20e892c1. Schwerwiegender Fehler bei der Installation. Error code is 1603.
    [12.07.2011 19:52:04.0551] [1] [ERROR] Schwerwiegender Fehler bei der Installation
    [12.07.2011 19:52:04.0613] [1] Ending processing uninstall-msipackage
    The MSI package with code '4934d1ea-be46-48b1-8847-f1af20e892c1' ist the SP1.
    Actual System: Server2008R2SP1 / Exchange2010SP1 RU3v3
    It is possible to solve this problem?
    Rene Hubert - Systemadministrator - DRK KH Lichtenstein gGmbH
    I too have this
    problem.

  • Exchange 2010 SP1 Upgrade to SP2 and SP3. Choose language.

    Hello.
    I going to install Exchange 2010 SP1 multilanguage and then update to SP2 and SP3
    But then i download SP2 from Microsoft it's ask fоr choose language.
    It ask about installer language or about Exchange language?
    What language i need to choose if i have multilanguage Exchange SP1 installer?
    And if i want to Exchange EMC be in English and Outlook on client machine shows Russian what language i need to choose when install first role from Exchange 2010 SP1 multilang DVD?

    Exchange EMC language depends on OS version where you are running it.
    Besides about client language you have to choose Russian language pack during install. More info below...
    The language of the Outlook user interface that an Outlook user sees, including the content generated by Exchange, depends on the following:
    The language the user is using in Outlook
    Whether the language they're using in Outlook is supported by Exchange 2010
    Whether the language they're using in Outlook has been configured to be available on the Exchange 2010 server
    Consider the following scenarios:
    When an Outlook user who's set their language to <Language A> signs in to their Exchange 2010 mailbox and both Outlook and Exchange 2010 support the language the user has specified, <Language A>, the user will see all messages and Exchange-generated
    mailbox components, for example, the Inbox, in Language A.
    When an Outlook user who's set their language to <Language A> signs in to their Exchange 2010 mailbox that's been set to <Language B>, the Outlook user will see the Outlook user interface in Language A, but will see the content generated
    by Exchange. For example, by default, folder names such as Inbox,
    Deleted Items, and Sent Items display in <Language B>.
    You can change the Exchange mailbox language setting on the server using Exchange Management Console or the Exchange Management Shell. For information about how to use the Shell to change the language setting for a mailbox on a server, see
    Set-MailboxRegionalConfiguration.
    From: Client Language Support for Outlook -
    http://technet.microsoft.com/en-us/library/dd638175%28v=exchg.141%29.aspx
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Cannot upgrade Exchange 2010 SP1 Management Tools to SP2 on Win 8.1 workstation

    I have a Win 8.1 workstation that I am trying to update the Exchange Management tools on from 2010 SP1 to SP2. I get an error that says:
           Error:
           The following error was generated when "$error.Clear(); &RoleBinPath\ServiceControl.ps1 EnableServices Critical" was run: "AuthorizationManager check failed.".
    The WMI service is being disabled and not starting back up after, causing the error. I have tried the following:
    -Confirmed that the ExecutionPolicy is set to undefined/unrestricted for the localmachine
    -Confirmed no GPO exists in our domain to restrict this
    Every single time I run the install the WMI service switches to disabled and the localmachine Execution Policy is switched to RemoteSigned.
    I have tried the Google search steps except for the Setup /M:Recoverserver since I really don't know what that would do to our Exchange environment. I have seen some posts that the Exchange 2010 MGMT tools are not supported on Win 8, which I find hard to
    believe. I get no unsupported error just this incredibly frustrating error.
    Any ideas?

    What you are doing is totally unsupported:
    http://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx
    By the way, Exchange 2010 sp1 and SP2 are no longer supported, the minimum supported is SP3.
    http://social.technet.microsoft.com/Forums/en-US/b3085dd9-6777-454e-af30-279dfccffb8b/exchange-2010-sp1-and-sp2-are-no-longer-supported?forum=exchange2010
    Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks.

  • Problems with Exporting PST files from Exchange 2010 SP1 on SBS2011

    Can you connect to the mailbox with Outlook and export from there?
    If there are just 2 left - might not be worth the effort if you can do another way and be finished....

    Hi Everyone,We are currently preparing to perform the final move from our existing SBS 2011 server for email to Office 365. I am currently going through a list of users and are deleting and backing up mailboxes/accounts as required.I am using the details in this article:http://exchangeserverpro.com/export-mailboxes-exchange-server-2010-sp1/This has worked for 12 of the 14 accounts I need to backup to PST. However I get an error saying this cmdlet cannot connect to the source mailbox for two of these mailboxes as in the picture below. Anybody have any ideas on why this is?
    This topic first appeared in the Spiceworks Community

  • Upgrading to Exchange 2010 SP1

    When I'm upgrading Exchange 2010 to SP1, I get to tthe Hub Transport Role and it errors out with the following messsage:
    Summary: 8 item(s). 3 succeeded, 1 failed.
    Elapsed time: 00:08:15
    Language Files
    Completed
    Elapsed Time: 00:04:40
    Restoring services
    Completed
    Elapsed Time: 00:00:01
    Languages
    Completed
    Elapsed Time: 00:02:59
    Hub Transport Role
    Failed
    Error:
    The following error was generated when "$error.Clear();
              if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) )
                Update-RmsSharedIdentity -ServerName $RoleNetBIOSName
            " was run: "There should only be a single RMS Shared Identity user. Found CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,CN=Users,DC=corporate,DC=internal and CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,OU=migrate,DC=corporate,DC=internal.".
    There should only be a single RMS Shared Identity user. Found CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,CN=Users,DC=corporate,DC=internal and CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,OU=migrate,DC=corporate,DC=internal.
    Click here for help...
    http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e=ms.exch.err.Ex88D115&l=0&cl=cp
    Elapsed Time: 00:00:34
    Client Access Role
    Cancelled
    Mailbox Role
    Cancelled
    Management Tools
    Cancelled
    Finalizing Setup
    Cancelled
    I haven't been able to find anything on the web regarding this error, so any help would be appreciated.  We used to ADMT to migrate users into a new domain, but what it looks like to me (and I'm sure I'm wrong) is that the same user is set up in migrate
    OUT as the regular Users Container.
    What am I missing???
    Thanks in advance.
    Jeff

    Hi,
    Please try to use ADSIedit to check if you have two federated email account. You may need to delete the double one.
    Remove the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 e-mail account by using the ADSIEDIT tool. To do this, follow these steps:
    Click Start, click Run, type adsiedit.msc, and then click
    OK.
    Locate the Default Naming Context node, and then locate to the
    CN=Users container.
    Locate and then right-click the CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 container. Then, click
    Delete.
    If that is not help, then I recommend y ou to remove all those two federatedemail account and then create a new one.
    Rerun the Exchange Server 2010 Mailbox role setup application.
    Create a new federated e-mail account by using the following command:
    New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>
    Regards,
    Xiu

  • How to force Outlook's Junk email fitler to not filter Exchange 2010 SP1 accepted domains?

    Hello,
    I wonder if there really is no way how to reach the result described in the title question. Because
    http://support.microsoft.com/kb/2458522 says:
    This issue occurs because of a functionality change that is introduced in Exchange Server 2010 SP1. In Exchange Server 2010 SP1, domains that are configured as accepted domains are no longer allowed in the junk email lists of a mailbox.
    So please tell us Microsoft how can we force Outlook to accept internal domain as a trusted senders and not apply Junk email filter on it?
    There was already a long discussion about the steps here
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/15f857c6-0ed4-4004-9d90-cb5d16361752 so please don't offer anything described there.
    Thank you,

    Trying to deal with the Outlook Junk Email Filter is not very easy and had been a pain in the butt.
    The ONLY way to ensure the Outlook 2010 Junk Email filter honors "white listed" emails is to stamp the email with SCL -1. Setting a transport rule will do that but it is not very flexible. 
    I was able to resolve these issues by simply enabling the Exchange 2010 Anti-Spam agents on each hub transport server. We have no Edge Server but we use a couple of Ironports at the gateway which provide the bulk of AntiSpam. We didn't think we would
    need the Exchange AntiSpam so we hadn't initially enabled. After months of trying to resolve people's complaints of emails from internal system ending up in Junk, this solution worked for us.
    This is the order in which it was done.
    1. We set the receive connectors for the internal systems for bypassing Anti Spam. We basically have 2 receive connectors, one for internal system with no relay, and one for internal systems who are allowed external relay.
    Get-ReceiveConnector "server\name of the recieve connector" | Add-ADPermission -User "“NT Authority\Anonymous Logon”  -AccessRights ExtendedRight
    -ExtendedRights ms-exch-bypass-anti-spam
    Note: If you use SMTP Authentication, Exchange will only mark the emails as "Internal" and not assign a SCL of -1. It can only be on anonymous connections.
    Note: We have a separate receive connector for the Ironports delivering external email that will not bypass Anti-Spam. These emails will receive a SCL rating of 0-9
    2. We set the global SCL to 6 (default is 4). You can set it to whatever you want.
    Set-OrganizationConfig -SCLJunkThreshold 6
    So basically, any email tagged with SCL 7-9 will be moved to Junk by Exchange.
    3. Set-ContentFilterConfig -SCLQuarantineEnabled $False -SCLDeleteEnabled $False -SCLRejectEnabled $False
    We don't want delete, reject or quarantine anything on Exchange. Just move email to Junk folder if SCL 7-9 and have user deal with it.
    4. Set the Internal SMTP Servers by adding each Exchange server's IP Address to the Global Transport Settings. I used EMC, Organization Config, Global Settings, Transport Settings properties, Message Delivery tab. Do NOT add any other "internal" servers
    here, only the Exchange servers.
    5. Then we installed the AS agents on each HT Server.
    Starting with the first server
    Stop MSExchange Transport service
    D:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\install-AntispamAgents.ps1
    After installation, disable all the agents except for Content Filtering Agent. This agent has to be enabled for Exchange to stamp the email with SCL -1. I used EMC, Organization Config, Hub Transport. You will see a new tab called Anti-Spam. Disable everything
    except Content Filtering.
    Start MSExchange Transport service.
    Repeat on each HT server. (You won't have to repeat the disabling of the agents as that is a global setting)
    6. You can add global safe senders by doing the following.
    $list = (Get-ContentFilterConfig).BypassedSenders
    $list
    $list.add("[email protected]")
    $list.add("[email protected]")
    Set-ContentFilterConfig -BypassedSenders $list
    The message headers are stamped with
    For emails sent through the Internal connector
    X-MS-Exchange-Organization-Antispam-Report: MessageSecurityAntispamBypass
    X-MS-Exchange-Organization-SCL: -1
    OR
    For external emails from a safe sender
    X-MS-Exchange-Organization-Antispam-Report: ContentFilterConfigBypassedSender
    X-MS-Exchange-Organization-SCL: -1
    OR
    For all other external emails
    X-MS-Exchange-Organization-SCL: 0
    Good Luck. This has basically stopped all the calls about "legitimate" email in Junk Email folder.

  • Outlook/exchange 2010 "cannot expand folder" on shared mailbox

    exchange 2010. outlook 2010 (and outlook 2013).
    change user mailbox 'mailbox1' to a shared mailbox with powershell:
               set-mailbox mailbox1 -type shared
    verify the mailbox appears as shared in exchange console.
    grant Full Access Permission to mailbox1 to Group1 AD group.
    member of Group1 adds mailbox1 as an additional mailbox to his outlook exchange account.
    when he clicks on mailbox1, outlook says "cannot expand folder. (was this information helpful?)"
    member of ad group logs out of windows and logs back in repeatedly.
    but when he clicks on mailbox1, outlook says "cannot expand folder. (was this information helpful?)"
     edit: if I specifically grant full access permission to the user, he can open the mailbox in outlook. I want to grant the permission to a group, not to individual users.

    Hi,
    I can give a security group full access permission to a shared mailbox in my Exchange 2010 environment. And all group members can add the shared mailbox as an additional mailbox in Outlook.
    Please make sure the full access permission has been assigned to Group1 and the problematic user is a member of this group. Then remove the additional mailbox and restart Outlook, re-add the shared mailbox as an additional mailbox to have a try. If the issue
    persists in Outlook, please try to open the shared mailbox in OWA to check whether the user can access it.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Exchange 2010 Public Folder import .pst

    Hi
    I have Exchange 2010. I exported a public folder to pst-file and then deleted it. Because i could not uninstall our 2007 servers
    How do i import it again. When i do it in Outlook it says that Posts cannot be created on root level in the common information archive. Translated from Swedish.
    Anyone have a step by step solution for this.
    Best regards
    Matthias

    Hi,
    How did you import the pst-file? Please try to open the pst-file in Outlook and drag and drop all items in it to your Public Folder. See:
    http://www.rackspace.com/knowledge_center/article/migrating-public-folder-data
    Hope this helps.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • How to reinstall PowerShell Virtual Directory in IIS 7.5, Exchange 2010 SP1?

    Hi, When reinstalling CAS role, accidently removed Powershell virtual directory in IIS and also the powershell folder under ClientAccess folder. Now EMC and EMS not working, all with Kerbrose error and WinRM error. How could I restore PowerShell virtual
    directory and make it fully functional without a fully reinstall of EX2010? I tried manually add it in IIS and copy the web.config from another EX2010 server but failed. Can't access its module settings in IIS. How to recreate them? Any Powershell script(but
    not the exchange one) can do the job?

    Hello, thanks for your help so far!
    I have a similar issue. But when hitting your 2 cmdlets in powershell, I obtain the following error:
    New-PowerShellVirtualDirectory : Web object 'IIS://<FQDN Server>/W3SVC/1/ROOT' can't be found.
    At line:1 char:31
    + New-PowerShellVirtualDirectory <<<<  -Name "PowerShell" -InternalURL "http://<FQDN Server>/powershell"
        + CategoryInfo          : NotSpecified: (0:Int32) [New-PowerShellVirtualDirectory], WebObjectNotFoundException
        + FullyQualifiedErrorId : 20F775D1,Microsoft.Exchange.Management.SystemConfigurationTasks.NewPowerShellVirtualDire
       ctory
    What am I doing wrong?
    The IIS Default website is running. Server is W2008R2 SP1. Exchange 2010 SP3 
    You know you're an engineer when you have no life and can prove it mathematically

Maybe you are looking for

  • [SOLVED] After qemu update: KVM does not work anymore

    Hi, I used to use qemu-kvm, as in qemu-kvm \ -net nic,vlan=1 -net user,vlan=1 \ -drive file=/home/flash-vm/hdd0,if=virtio,cache=writethrough \ -vga std -vnc localhost:2 -usbdevice tablet \ -m 1024 However, now qemu-kvm has been removed. If I replace

  • How to transport View ID?

    Hello all, I have few queries in SAP BW development system and I have a requirement such that a view needs to be created and saved for each of them using RSRT transaction. Can anyone let me know if there is a way to put these views in transport reque

  • Missing a sideways scroll bar on itune so can't click to accept terms

    HELP I got an ipod nano for Christmas, downloaded itunes, plugged my ipod in and get as far as the terms and conditions page and the page won't scroll across so that I can click on accept, therefore I can't see what's on my ipod!! On every other page

  • Upgrade trial version using code from purchased discs?

    I recently purchased the adobe photoshop elements 12 & adobe premiere elements 12 package. When I tried to load the software onto my computer, it wouldn't work. I purchased the software from Amazon and they suggested (before returning the software) t

  • 10.5.6 Combo Update not allowing me to select the HD for the install

    I have downloaded the Combo update from Apple's site [around 650Mb]. -Double Clicking the .dmg mounts it. -Double clicking on the mounted icon runs the installer. -After clicking 'Next' a couple of times I have to select the location of the install -