ActiveSyncDevice Errors

Welcome Forums General PowerShell Q&A ActiveSyncDevice Errors

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 7 years, 2 months ago.

  • Author
  • #6463

    Points: 0
    Rank: Member

    by morpheus83uk at 2012-08-22 01:52:52


    I am running the following command:

    Get-ActiveSyncDevice -Mailbox

    and it seems to work fine but does not pull out the correct information which is in OWA.... Its coming up with the last wiped phone opposed to the actual device which is being used or all devices which have been used and are being displayed in OWA.

    I get the following information back:

    FriendlyName :
    DeviceId :
    DeviceImei :
    DeviceMobileOperator :
    DeviceOS :
    DeviceOSLanguage :
    DeviceTelephoneNumber :
    DeviceType :
    DeviceUserAgent :
    DeviceModel :
    FirstSyncTime :
    UserDisplayName :
    DeviceAccessState :
    DeviceAccessStateReason :
    DeviceAccessControlRule :
    DeviceActiveSyncVersion :
    AdminDisplayName :
    ExchangeVersion :
    Name :
    DistinguishedName :

    Identity :

    Guid :
    ObjectCategory :
    ObjectClass :
    WhenChanged :
    WhenCreated :
    WhenChangedUTC :
    WhenCreatedUTC :
    OrganizationId :
    OriginatingServer :
    IsValid :

    After this I get the following error:

    WARNING: An unexpected error has occurred and a Watson dump is being generated: The type
    initializer for 'Microsoft.Exchange.AirSync.Command' threw an exception.
    Get-ActiveSyncDevice : The type initializer for 'Microsoft.Exchange.AirSync.Command' threw an excep
    At line:1 char:21
    + Get-ActiveSyncDevice < <<< -Mailbox + CategoryInfo : NotSpecified: (:) [Get-ActiveSyncDevice], TypeInitializationExceptio
    + FullyQualifiedErrorId : System.TypeInitializationException,Microsoft.Exchange.Management.Tas

    Does anyone know why I am not getting the correct information and the errors above?

    Many Thanks


    by MikePfeiffer at 2012-08-23 16:06:40

    Are you running the latest SP and RU for Exchange?

    by morpheus83uk at 2012-08-24 02:15:05


    Were running Update 5 if thats any use?

    Many Thanks


    by MikePfeiffer at 2012-08-24 07:11:20

    Can you update to the latest SP and RU? Where are you running the cmdlet from? Can you try running it against another server (if you have one) to see if it may be an issue with an individual server?

    by morpheus83uk at 2012-08-28 04:40:03

    Unfortunately not as I am not in charge of this...

    I am running the cmdlet from my machine and not the server and we only have 1 server 🙁

    Is there anything which can be done to fix this as is?

    Many Thanks


    by mjolinor at 2012-08-30 20:03:17

    Are you manually loading the management snapin into a generic PS session?

    by morpheus83uk at 2012-09-11 08:04:40

    I am yes.

The topic ‘ActiveSyncDevice Errors’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort