Exchange ActiveSync powershell Report

Good Day All,
I am trying to run a a script, which pulls a report of all of our activesync devices and exports from powershell to .csv. The report runs fine but I have to manually format the result because the csv does not split into individual columns. Any assistance
in getting the headers and linked info to split into individual columns would be highly appreciated.
Below is the script:
$Mailboxes = Get-Mailbox -ResultSize "unlimited"
$Date = Get-Date
$CSVPath = "c:\reports\ActiveSyncReport.csv"
$CSVHeader = "DisplayName,Department,PrimarySMTPAddress,DeviceType,DeviceModel,DeviceOS,FirstSyncTime,LastSuccessSync"
$CSVHeader | Out-File -FilePath $CSVPath -Encoding ASCII
Foreach ($Mailbox in $Mailboxes)
$ActiveSyncInfo = $null
$ActiveSyncInfo = Get-ActiveSyncDeviceStatistics -Mailbox $Mailbox | Where-Object {$_.LastSuccessSync -ge $Date.AddDays(-30)}
If ($ActiveSyncInfo -ne $null)
$ADInfo = Get-ADUser -Identity $Mailbox -Properties "Department"
$DisplayName = $Mailbox.DisplayName
$Department = $ADinfo.Department
$PrimarySMTP = $Mailbox.PrimarySmtpAddress
$DeviceType = $ActiveSyncInfo.DeviceType
$DeviceModel = $ActiveSyncInfo.DeviceModel
$DeviceOS = $ActiveSyncInfo.DeviceOS
$FirstSync = $ActiveSyncInfo.FirstSyncTime
$LastSuccess = $ActiveSyncInfo.LastSuccessSync
[String]$CSVAdd = $DisplayName + "," + $Department + "," + $PrimarySMTP + "," + $DeviceType + "," + $DeviceModel + "," + $DeviceOS + "," + $FirstSync + "," + $LastSuccess
$CSVAdd | Out-File -FilePath $CSVPath -Encoding ASCII -Append

Nevermind, I have managed to get it fixed, was not thinking properly. Incase it is useful to anyone else please see the below:
$Mailboxes = Get-Mailbox -ResultSize "unlimited"
$Date = Get-Date
$CSVPath = "c:\reports\ActiveSyncReport.csv"
$CSVHeader = "DisplayName;Department;PrimarySMTPAddress;DeviceType;DeviceModel;DeviceOS;FirstSyncTime;LastSuccessSync"
$CSVHeader | Out-File -FilePath $CSVPath -Encoding ASCII
Foreach ($Mailbox in $Mailboxes)
$ActiveSyncInfo = $null
$ActiveSyncInfo = Get-ActiveSyncDeviceStatistics -Mailbox $Mailbox | Where-Object {$_.LastSuccessSync -ge $Date.AddDays(-30)}
If ($ActiveSyncInfo -ne $null)
$ADInfo = Get-ADUser -Identity $Mailbox -Properties "Department"
$DisplayName = $Mailbox.DisplayName
$Department = $ADinfo.Department
$PrimarySMTP = $Mailbox.PrimarySmtpAddress
$DeviceType = $ActiveSyncInfo.DeviceType
$DeviceModel = $ActiveSyncInfo.DeviceModel
$DeviceOS = $ActiveSyncInfo.DeviceOS
$FirstSync = $ActiveSyncInfo.FirstSyncTime
$LastSuccess = $ActiveSyncInfo.LastSuccessSync
[String]$CSVAdd = $DisplayName + ";" + $Department + ";" + $PrimarySMTP + ";" + $DeviceType + ";" + $DeviceModel +
";" + $DeviceOS + ";" + $FirstSync + ";" + $LastSuccess
$CSVAdd | Out-File -FilePath $CSVPath -Encoding ASCII -Append

Similar Messages

  • Customising Exchange Activesync Powershell script

    Hi All,
    I have posted a question in forum for getting the activesync logs to check who has enabled/disabled activesync in Exchange 2007 but have not got the techincal result. So I am Planning to have a script in place to enable/disable activesync and maintain a
    log to track of all changes with date and time.
    http://social.technet.microsoft.com/Forums/en-US/exchangesvradminlegacy/thread/c4f58cef-b0f1-4313-b1ea-6ad82054daaa
    Below is the script we have in place to enable/disable Activesync
    $name=Read-Host Enter the SMTP address of the account to be ActiveSync ENABLED
    $a = get-date
    set-mailbox -id $name -CustomAttribute1 'Enable'
    set-casmailbox -id $name -ActiveSyncEnabled $true -ActiveSyncMailboxPolicy 'Default - Default Policy + Encryption'
    echo $a >> c:\temp\scripts\EAS\log.txt
    get-casmailbox -id $name | ft -autosize PrimarySMTPAddress,ServerName,ActiveSyncMailboxPolicy,ActiveSyncEnabled | out-file -append c:\temp\scripts\EAS\log.txt
    get-casmailbox -id $name | ft -autosize PrimarySMTPAddress,ServerName,ActiveSyncMailboxPolicy,ActiveSyncEnabled
    I have seen many scripts in technet forum to enable or disable activesync. But I have a customise requirement.
    But my requirement is
    1. read a user to enable or disable activesync
    2. Do u want to enable or disable active sync
    3. If user wants to enable AS
       Then  below conditions
         if  AS is not enabled and if CA#1 is empty
             Enable ActiveSync and update CA#1 as Enable
        Else IF AS is enabled & CA#1 is empty/disable
             Inform like AS is already enabled for the user, but CA#1 is not updated/disable
             Do u want to update CA#1 -> If yes -> Update CA#1
        Else if AS is not enable & if CA#1 is updated as enable
             Inform like AS is not enabled for the user, but CA#1 is updated
             Do u want to enable Active sync
      Else
         inform both AS is enabled and CA#1 is updated.
    4. If user wants to disable
         then the same logic but have to disable...
    This will allow me to track admins who are enabling/disabling the requests and also will be very easy to manage AS.
    Please help me with a script or the conditons to be added in the script and let me know if we can have some good output with the below information
    1. Admin info - who has updated the AS & CA
    2. Date and time
    3. User info - whose details got updated.
    Ahmed Ali

    Please post your request in
    Script Request
    You will get answers and best solutions from many.
    Regards Chen V [MCTS SharePoint 2010]

  • SBS 2011; Exchange ActiveSync problems in the middle of a migration

    Hi
    We're in the middle of a migration from SBS 2003 to SBS 2011 and are stuck in the lengthy process of moving users' mailboxes.
    At this point, I have about 20 percent of the users' email on the SBS 2011 box, and the rest still on the SBS 2003 box.
    Right now I have to quickly deal with an issue that's cropped up with Exchange ActiveSync:
    I ran the Connectivity Analyzer for a user (this one's box had been migrated) and got the error below. By the looks of the error, I don't think it matters where the mailbox happens to reside ...
    The SBS 2011 box has been set up using a migration install and the procedures listed in the MS migration docs.
    At the rate we're going, it's still going to take a while to migrate these mailboxes. (The fact that they began tonight was actually an accident.) If mobile users can't get their mail, I'm going to have a big mess on my hands ...
    What do I need to do to get this running properly for all users?
    Thanks
    CL
    An ActiveSync session is being attempted with the server.
      Errors were encountered while testing the Exchange ActiveSync session.
     Additional Details
    Elapsed Time: 793 ms. 
     Test Steps
     Attempting to send the OPTIONS command to the server.
      The OPTIONS response was successfully received and is valid.
     Additional Details
    HTTP Response Headers:
    MicrosoftOfficeWebServer: 5.0_Pub
    Pragma: no-cache
    Public: OPTIONS, POST
    Allow: OPTIONS
    MS-Server-ActiveSync: 6.5.7638.1
    MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
    Content-Length: 0
    Date: Fri, 30 May 2014 08:49:48 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    Elapsed Time: 205 ms. 
     Attempting the FolderSync command on the Exchange ActiveSync session.
      The test of the FolderSync command failed.
     Additional Details
    An HTTP 403 forbidden response was received. The response appears to have come from Unknown. Body of the response: <body><h2>HTTP/1.1 403 Forbidden</h2></body>
    HTTP Response Headers:
    MicrosoftOfficeWebServer: 5.0_Pub
    Pragma: no-cache
    MS-Server-ActiveSync: 6.5.7638.1
    Content-Length: 44
    Content-Type: text/html
    Date: Fri, 30 May 2014 08:49:48 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    Elapsed Time: 588 ms. 

    Hi --
    Neither of the Exchange servers is publicly listed as the mail handler for this domain. Mail is preprocessed by a cloud spam filtering service before coming down. So I expect no changes in MX records -- not even a change in the spam filter's delivery IP
    address, since that points to my firewall. I'll forward SMTP traffic to the new server when the time comes.
    I was told by MS that moving the mailboxes would not disrupt anything as long as both SBS boxes were up and running. And despite what the Connectivity Analyzer showed, people in this office have been receiving email on their mobile phones all day. I've had
    a few sporadic reports of people supposedly not getting email on their smartphones, but I can't see how anything I did (basically just move mailboxes at this point) could allow some people's phones to get mail while others' can't, when everyone was getting
    mail yesterday.
    I also have an odd report from someone who claims that his mobile phone is processing email just fine, but his MacBook running Entourage suddenly can't connect.
    Oh well ... The day is over (at least for the workers). Hopefully by the time the workers return on Monday, I'll be back to having just one SBS box on the network.
    The mailboxes are being moved A LOT faster than any of the documents I read warned me they would. One document said that a 75 GB database could take close to 48 hours to transfer. And this server's Exchange database was 67 GB ... But last night's
    "accident" (I thought I was only prepping a new database when in fact the machine was actively moving email into it) resulted in about 40% of the mailboxes being completely moved by 8 a.m.. And since 5 p.m., when I restarted the move requests,
    the machine has completed the moves of about 20% more mailboxes. So I expect this part to be over probably by early morning. (The ones that remain are the really big ones -- still, after I spent a week doing mailbox housekeeping.)
    I was also warned about the lengthy conversion requirements for the public folders. I transferred those last weekend. The whole process was over with in less than four hours. Go figure ...
    (The public folder transfer did have an annoying side effect -- I kept receiving warning after warning via email from the SBS 2003 box about a high number of items in Exchange's send queues ...)
    Thanks
    CL

  • Can Exchange activesync be used for calendar and contacts without BES?

    I thought it could- just got a Z10 and am having trouble syncing with a cloud service that uses EAS Tech support just told me that I have to be on BES for that? Wasn't what I thought. Knowledge base article KB34208 "Sync time frame for calendar events when using a Microsoft Exchange ActiveSync connection " Says nothing about BES in the Environment section? http://btsc.webapps.blackberry.com/btsc/viewdocument.do?externalId=KB34208&sliceId=2&cmd=displayKC&d... Hoping guy was wrong- I really need to be able to get my desktop info onto phone and this is convoluted enough- syncing to cloud and then to phone but want to keep the phone (4th BB and a PB). Help please.

    you dont need BES10. you can do EAS directly from the device to the Exchange Server.
    zeki

  • Windows 8/8.1 devices, BitLocker and Exchange Activesync "Require encryption on device"

    Recently I've been testing a change to our Exchange ActiveSync Policy , "Require encryption on device". This works fine for  Windows 8 phones, all iOS devices and some Android. However, W8 tablets with BitLocker on have an issue getting Activesync
    email.
    Is BitLocker considered to be insufficient Encryption for an Exchange Activesync policy which enforces: "Require encryption on device".

    Hi dude -d,
    "Require encryption on device Select this check box to require encryption on the mobile phone. This increases security by encrypting all information on the mobile phone."
    Here is a link for reference of this policy
    View or Configure Exchange ActiveSync Mailbox Policy Properties
    https://technet.microsoft.com/en-us/library/bb123994(v=exchg.141).aspx
    Considering this policy is to increase the security by encrypting the device ,there maybe some conflicts here if the the device has been protected by the Bitlocker .This is just my own assumption.
    To understand this policy more deeply ,it is recommended to ask for help from our Exchange Forum .They are more familiar with this policy and they may have more resources to help understand this issue .
    Exchange Forum
    https://social.technet.microsoft.com/Forums/exchange/en-US/home?category=exchangeserver
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Certificate based authentication for Exchange ActiveSync in Windows 8.* Mail app

    I have a Surface Pro and want to setup access to my company's Exchange server that accepts only Exchange ActiveSync certificate-based authentication.
    I've installed server certificates to trusted pool and my certificate as personal.
    Then I can connect thru Internet Explorer, but this is not comfortable to use.
    I don't have a password because of security politics of our company. When I'm setting up this account on my Android phone I'm using any digit for password and it works perfectly.
    Can someone help to setup Windows 8 metro-style Mail application? Does it supports this type of auth? When I'm trying to add account with type Outlook, entering server name, domain name, username, 1 as a password then I've got a message like "Can't
    connect. Check your settings."
    Is there any plans to implement this feature?

    For what it's worth we have CBA working with Windows 8.1 Pro.  In our case we have a MobileIron Sentry server acting as an ActiveSync reverse-proxy, so it verifies the client cert then uses Kerberos Constrained Delegation back to the Exchange CAS, however
    it should work exactly the same to the Exchange server directly.  I just used the CA to issue a User Certificate, exported the cert, private key and root CA cert, copied to the WinPro8.1 device and into the Personal Store.  Configured the Mail app
    to point at the ActiveSync gateway, Mail asked if I would like to allow it access the certificate (it chose it automatically) and mail synced down immediately...
    So it definitely works with Windows Pro 8.1.

  • Versamail Exchange ActiveSync wireless push e-mail ONLY; Sync Contacts/Calendar via Desktop/USB

    I use a 3rd party conduit, PalmPilot Link for Commence RM CRM software from Commence Corp. which works with the Palm Desktop sync engine to sync my Contacts, Calendar, Tasks and Memos. Recently I tested VersaMail 3.5.5 on my Rogers Treo 680 (despite zero support from Rogers) with push e-mail and loved it until I discovered I could no longer sync my Contacts and Calendar with Commence. Even with the options in VersaMail to sync Contacts and the Calendar unchecked they would not sync via the USB cable to Commence.
    I have come across Palm Article ID: 42600 which states "Once you establish an Exchange ActiveSync account in VersaMail, you will not be able to sync Calendar, Contacts or Email through the USB HotSync cable". It would be nice if this wasn't the case when synching of Contacts and the Calendar are turned off. A call to technical support confirmed there is no way to do what I need with the current product version.
    I have found a competitive product, RoadSync from DataViz does allow me to sync ONLY e-mail with ActiveSync so it would seem to be technically possible.  The problem with RoadSync is it's not a true push e-mail on the Treo 680 as far as I can tell and it seems a little pricey with fewer features than VersaMail, except for one feature which is very important to anyone who depends on 3rd party conduits.
    Please consider releasing a new version or a patch to allow synching Contacts and the Calendar via USB while using Exchange ActiveSync push e-mail.
    Note: The Commence CRM product for Windows has been around for almost 20 years and has supported the Palm OS for about 10 years. Commence users everywhere would love this feature in VersaMail. I do not work for Commence Corp. but have been a user since 1991 and a Palm user since 1999.  
    Post relates to: Treo 680 (Rogers)
    Message Edited by bws888 on 10-08-2008 07:47 AM
    Message Edited by bws888 on 10-08-2008 07:49 AM

    I can certainly submit this as a feature request. 
    Post relates to: None

  • Exchange ActiveSync doesn't have sufficient permissions

    In one of our cas servers getting the following error.
    Anybody have any idea why this error kindly share.
    Exchange ActiveSync doesn't have sufficient permissions to create the "CN=a,OU=b-Administrators,DC=comany,DC=domain,DC=domain " container under Active Directory user "Active Directory operation failed on SRVINFDCDR01.kfupm.edu.sa. This error is not retriable.
    Additional information: Access is denied.
    Active directory response: 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
    Make sure the user has inherited permission granted to domain\Exchange Servers to allow List, Create child, Delete child of object type "msExchangeActiveSyncDevices" and doesn't have any deny permissions that block such operations.
    Details:%3
    Ashraf

    Some times you have to do this.
    Start Active Directory Users and Computers.
    Click View, and then click to enable Advanced Features.
    Right-click the object where you want to change the Exchange Server permissions, and then click
    Properties.
    Note You can change permissions against a user, an organizational unit, or a domain.
    On the Security tab, click Advanced.
    Click Add, type Exchange Servers, and then click
    OK.
    In the Apply to box, click Descendant msExchActiveSyncDevices objects.
    Under Permissions, click to enable Modify Permissions.
    Click OK three times.

  • Microsoft Exchange ActiveSync Error Message using VersaMail

    Device: Treo755p (Sprint), Palm Software
    Platform: Windows 2000, Outlook 2003
    When I go to my work e-mail account using VersaMail, the following message appears: 
    IT Policy Update.  Your IT administrator has updated the password policy that applies to your phone.  Press OK to go to the Security application now.  You won't be able to sync with Exchange until you change your password.
    When I click "OK," another message appears:
    IT Policy Update.  Your administrator requires a password with at least 152 characters.
    When I click "OK,", it takes me to the Security settings on my phone.  I've never set up a password on my phone before, so I don't know why this is happening.  I already checked with the IT guy and they haven't changed anything on the server.
    I tried a soft reset and nothing happened.  I also tried to setting it up again as a new e-mail account, but Exchange ActiveSync isn't even an option when trying to pick the Mail Service.  So something is screwy with the phone/software.
    Post relates to: Treo 755p (Sprint)

    Hello, I'm getting the same thing here, except I think I'm getting a better deal than some of you.  It's only asking me for a 118-character password. 
    Post relates to: Treo 755p (Sprint)
    Message Edited by timtrace on 10-27-2008 11:57 AM

  • Not all contacts or calendar entries syncing with Exchange ActiveSync

    Just set up Exchange ActiveSync on my new iPhone. Exchange 2007, Outlook 2007, iPhone 2.1. Did my initial sync over the air. All appears good.
    Edit some entries in contacts on PC, add some new, etc. Same with calendar. They do not appear to sync over. Odd thing is in contacts they don't show up but yet my count matches between the two systems. Some of the edits don't come over either.
    In calendar, some entries are missing.
    Any ideas?

    No response from Apple. Calls to support turned up nothing. Problem seems to be a general issue with wireless sync. If I hardwire sync the appointments come over fine. If I do it by wireless, any appointments that are changed are at risk of not coming over.
    Others in my office that use Windows Mobile have said same thing from time to time on their end.
    Palms never failed like this. I would say Apple and Windows Mobile are not ready for prime time. I hope someone fixes this because the system is not stable.

  • Exchange ActiveSync has shut down because an unexpected critical error occurred

    Hi, 
    At one point all phones stopped syncing and when checking event log i came to this error:
    Exchange ActiveSync has shut down because an unexpected critical error occurred.
    URL=
    --- Exception start ---
    Exception type: System.OutOfMemoryException
    Exception message: Insufficient memory to continue the execution of the program.
    Exception level: 0
    Exception stack trace:    at Microsoft.Exchange.Data.Storage.GenericListData`2.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.AirSync.DeviceBehaviorData.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.DerivedData`1.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.GenericListData`1.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.GenericDictionaryData`3.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.SyncState.DeserializeSyncStateTable(Int64 idxTable)
       at Microsoft.Exchange.Data.Storage.SyncState.Deserialize(PropertyDefinition property)
       at Microsoft.Exchange.Data.Storage.SyncState.Load(Boolean reloadFromBackend, PropertyDefinition[] additionalPropsToLoad)
       at Microsoft.Exchange.Data.Storage.SyncState..ctor(SyncStateStorage syncStateStorage, StoreObject storeObject, SyncStateInfo syncStateInfo, Boolean syncStateIsNew)
       at Microsoft.Exchange.Data.Storage.CustomSyncState.GetSyncState(SyncStateStorage syncStateStorage, Folder syncStateParentFolder, SyncStateInfo syncStateInfo, StoreObjectId storeObjectId)
       at Microsoft.Exchange.Data.Storage.SyncStateStorage.GetCustomSyncState(SyncStateInfo syncStateInfo)
       at Microsoft.Exchange.AirSync.GlobalInfo.LoadFromMailbox(MailboxSession mailboxSession, SyncStateStorage syncStateStorage, ProtocolLogger protocolLogger)
       at Microsoft.Exchange.AirSync.Command.OpenSyncStorage(Boolean shouldOpenGlobalSyncState, Boolean shouldUseBudget)
       at Microsoft.Exchange.AirSync.Command.WorkerThread()
    --- Exception end ---
    mail server has 35GBs of Ram, plenty of disk space, no extra transaction logs adding or anything like that. Right now phones work, but every other minute that error pops up and after sometime event 1013 is logged saying that Exchange activesync has been
    loaded.
    Thanks

    Hi Luksharp
    Is it happening only for Iphones or is it for all types of phones as well ?
    What version of Exchange server you are running ?
    Are you experiencing this issue after any recent upgrade or changes in CAS server ?
    Just check the sync state policy refer below article
    http://blog.chrislehr.com/2012/02/difference-in-policy-versions.html
    Looks like Sync State Policy is loaded for user's mailbox from latest version of CAS server and it was contacted the lower version of CAS for mailbox access.
    Just ensure all of your CAS servers are up to date with all mailbox and hub in correct versions.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • Exchange ActiveSync on a BlackBerry Smartphone device

    I work for a LARGE software company in Redmond, WA that is not terribly BlackBerry friendly.  I would like to purchase a Pearl 8120 and have it sync with my work email (Exchange server).
    Is there a way to configure a BlackBerry device to use Exchange ActiveSync so I can use it for corporate email?
    The only support doc I can find that mentions EAS is as follows (near the bottom of the doc)
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB04156&sliceId=SAL_Pub...
    It discusses a conflict with using a BES wireless signal (which I don't want) and an EAS signal (which I do want).
    Thank you for any assistance you can provide.

    As well as NotifySync you should try our product AstraSync from www.astrasync.com. Priced at $49 per user per year (we are happy to post a price on our website, and indeed post to this forum without posing as an individual ) it comes in cheaper than NotifySync.
    Give us a try free for seven days and make your own mind up!
    Ben Cwilewicz
    www.AstraSync.com

  • Creating a New Email address policy for users in another Domain with Exchange 2013 powershell?

    Hi
    Everyone
    Is it possible to create a new-emailaddress policy with Exchange
    2013 Powershell, for users within OU´s located on another different
    domain/forest than where Exchange 2013 is installed?
    There
    is a Transitive, two way trust between the domain/forest where the users are
    located - and the Exchange 2013, multi tenant domain.
    Further
    more, and if possible, I need to create linked mailboxes to all these users as
    well.
    Í have been struckling with this issue for weeks, so please anyone -
    advice - and comment.
    Best
    Regards
    Peter
    A-ONE Solutions

    Hi Siddharth
    I want to create a new e-mailaaddress policy - and after that create linked mailboxes/users in my account domain with powershell.
    Can you help me achieve that ?
    I have a powershell CMDlet, but i doesn´t work. (Cannot fint user OU in my account domain)
    CMDlet is as follows:
    New-EmailAddressPolicy -Name $CustomerName   -RecipientContainer "OU=$CustomerName, OU=kunder, DC=Domain, DC=local" -IncludedRecipients 'AllRecipients' -ConditionalCustomAttribute1 $CustomerName -Priority '1' -EnabledEmailAddressTemplates SMTP:%2g%1s@$AcceptedEmailDomain
    Where $Customername = test.dk
    and Account domain is = OU=kunder, DC=Domain, DC=local
    But the command fails with:
    New-EmailAddressPolicy : Couldn't find organizational unit "OU=Test.dk, OU=kunder, DC=Domain, DC=local". Make sure you have typed the name correctly.
    At line:52 char:1
    + New-EmailAddressPolicy -Name $CustomerName   -RecipientContainer "OU=$CustomerNa
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [New-EmailAddressPolicy], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : [Server=HE-MBX03,RequestId=2cbe1b51-4af2-4c04-9f7e-e440000975e6,TimeStamp=24-03-2014 12:58:19] 2D00FD2A,Mi 
       crosoft.Exchange.Management.SystemConfigurationTasks.NewEmailAddressPolicy
    So, I cannot find the OU on the Account forest/Domain, even though the OU do exists in the Account domain. 
    Verifying with this: 
    Get-ADOrganizationalUnit -Identity "OU=$CustomerName,OU=kunder,DC=Domain,DC=local" –Server ‘DC01.domain.local’| FL
    This works fine, Can you please help/assist?
    Peter

  • Exchange ActiveSync for a BlackBerry Smartphone device.

    I work for a LARGE software company in Redmond, WA that is not terribly BlackBerry friendly.  I would like to purchase a Pearl 8120 and have it sync with my work email (Exchange server).
    Is there a way to configure a BlackBerry device to use Exchange ActiveSync so I can use it for corporate email?
    The only support doc I can find that mentions EAS is as follows (near the bottom of the doc)
    http://www.blackberry.com/btsc/search.do?cmd=displ​ayKC&docType=kc&externalId=KB04156&sliceId=SAL_Pub​...
    It discusses a conflict with using a BES wireless signal (which I don't want) and an EAS signal (which I do want).
    Thank you for any assistance you can provide.

    If you like free, you can always use your bb browser to your OWA.

  • Difference between EAS(Exchange activesync) and EWS(Exchange web service)

    What are the main differrences between EAS(Exchange activesync) and EWS(Exchange web service)...
    I know the basic difference 
    that is EAS(Exchange activesync) is a set of protocol
    and EWS(Exchange web service) is a web service....
    Please explain me the difference

    Hi MangeshDD,
    Some other information for you:
    Understanding Exchange Web Services Virtual Directories
    If you still have other confused points, please feel free let us know.
    Regards!
    Gavin
    TechNet Community Support

Maybe you are looking for

  • What can I do to restore sound(speaker&headphones) on my iPod Touch 4G?

    This is my second 4G iPod Touch as the first one was also had a defective speaker, I visited the Genius Bar and they said they could not fix the problem nor replace it as my warranty no longer valid. However, the "replacement" they gave me turned out

  • PowerBook keeps freezing after sleep.

    I have a 1Ghz PowerBook that often freeze when I try to wake it up from sleep. The screen goes dark and a box appears in the middle telling me that I need to hold down the power button for a few seconds and to restart, it's written in a few different

  • TS1314 Need help tranfering images to iphone...

    I need help tranfering images from my computer to my iphone. I've synced the images but they don't appear on my iphone, also on the file that contains the images, there's a file that says IPOD PHOTO CACHE. I don't know what to do. Please Help...

  • How to change the CC of a WBSE

    Hi, What is the impact of changing the CC of a WBSE when the original CC is still holding some value of the WBS? Just by changing the CC will not transfer values. So my question is how can we go about it so that the new CC receives the original value

  • Externally Triggering / Disabling Down a Monitor

    We are using SCOM 2012 R2, and we would like to be able to trigger a "web application monitor" at 8:00 AM in the morning, and shut it down after polling the application.   Would this be possible to implement ? Our business criteria is that, 1.  We ca