none
Failed database redistribution Exchange Server 2013 RRS feed

  • Question

  • Hi all, I have a problem with running the script .RedistributeActiveDatabases.ps1, on my Exchange Server 2013, I currently have 4 Exchange servers and my servers already count the CU23.

    When running the script

    .\RedistributeActiveDatabases.ps1 -DagName DAG -BalanceDbsByActivationPreference -ShowFinalDatabaseDistribution -Confirm:$false

    It generates the following error.

    Cannot process argument transformation on parameter 'Server'. Cannot convert value "SERVEREXC04" to type
    "Microsoft.Exchange.Configuration.Tasks.ServerIdParameter". Error: "Cannot convert hashtable to an object of the
    following type: Microsoft.Exchange.Configuration.Tasks.ServerIdParameter. Hashtable-to-Object conversion is not
    supported in restricted language mode or a Data section."
        + CategoryInfo          : InvalidData: (:) [Get-MailboxDatabase], ParameterBindin...mationException
        + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MailboxDatabase
        + PSComputerName        : SERVEREXC01.bmm.com

    Cannot process argument transformation on parameter 'Server'. Cannot convert value "SERVEREXC03" to type
    "Microsoft.Exchange.Configuration.Tasks.ServerIdParameter". Error: "Cannot convert hashtable to an object of the
    following type: Microsoft.Exchange.Configuration.Tasks.ServerIdParameter. Hashtable-to-Object conversion is not
    supported in restricted language mode or a Data section."
        + CategoryInfo          : InvalidData: (:) [Get-MailboxDatabase], ParameterBindin...mationException
        + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MailboxDatabase
        + PSComputerName        : SERVEREXC01.bmm.com

    Cannot process argument transformation on parameter 'Server'. Cannot convert value "SERVEREXC02" to type
    "Microsoft.Exchange.Configuration.Tasks.ServerIdParameter". Error: "Cannot convert hashtable to an object of the
    following type: Microsoft.Exchange.Configuration.Tasks.ServerIdParameter. Hashtable-to-Object conversion is not
    supported in restricted language mode or a Data section."
        + CategoryInfo          : InvalidData: (:) [Get-MailboxDatabase], ParameterBindin...mationException
        + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MailboxDatabase
        + PSComputerName        : SERVEREXC01.bmm.com

    Cannot process argument transformation on parameter 'Server'. Cannot convert value "SERVEREXC01" to type
    "Microsoft.Exchange.Configuration.Tasks.ServerIdParameter". Error: "Cannot convert hashtable to an object of the
    following type: Microsoft.Exchange.Configuration.Tasks.ServerIdParameter. Hashtable-to-Object conversion is not
    supported in restricted language mode or a Data section."
        + CategoryInfo          : InvalidData: (:) [Get-MailboxDatabase], ParameterBindin...mationException
        + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MailboxDatabase
        + PSComputerName        : SERVEREXC01.bmm.com

    Property 'Count' cannot be found on this object. Make sure that it exists.
    At C:\Program Files\Microsoft\Exchange Server\V15\scripts\RedistributeActiveDatabases.ps1:203 char:2
    +     [int]$numDbs = $script:databases.Count
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException
        + FullyQualifiedErrorId : PropertyNotFoundStrict


    thank you for your help


    • Edited by Fenix2191 Tuesday, March 16, 2021 5:53 PM
    Tuesday, March 16, 2021 5:40 PM

Answers

  • Hello, the validations performed for the error are:

    1. validate the object in the Active Directory, check the security permissions.
    2. validate the IPs associated to the Exchange DAG.
    3. Verify that the DAG Name is resolved by DNS.

    In my case, someone deleted the DNS record associated to the Exchange DAG, this caused the problem with the Exchange .RedistributeActiveDatabases.ps1 script.

    Thank you very much 

    • Marked as answer by Fenix2191 Wednesday, April 7, 2021 5:10 AM
    Wednesday, April 7, 2021 5:10 AM

All replies

  • Are you sure you have CU 23 loaded?  It seems that you are 'Trying' to install it?

    https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/cannot-process-argument-transformation-error

    Looks like you might be running as local admin rather than from an account with an associated mailbox.


    Steve W.

    Microsoft Certified Professional



    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Wednesday, March 17, 2021 7:11 PM
  • Hello, the validations performed for the error are:

    1. validate the object in the Active Directory, check the security permissions.
    2. validate the IPs associated to the Exchange DAG.
    3. Verify that the DAG Name is resolved by DNS.

    In my case, someone deleted the DNS record associated to the Exchange DAG, this caused the problem with the Exchange .RedistributeActiveDatabases.ps1 script.

    Thank you very much 

    • Marked as answer by Fenix2191 Wednesday, April 7, 2021 5:10 AM
    Wednesday, April 7, 2021 5:10 AM
  •  nice
    Wednesday, April 7, 2021 10:05 AM