SQl 2014 AlwaysOn discovery error RRS feed

  • Question

  • Hi I am getting the following error.  Installed SCOM 2012 R2 UR 9 with powershell ver 4.0 running 

    Management Group: OpsManager. Script: Main Module: GeneralAlwaysOnDiscovery.ps1 : Error occurred during AlwaysOn discovery.
    Computer: SQLSERVER-A 
    Reason: Cannot find an overload for "ToString" and the argument count: "0". 
    Detailed error output: Cannot find an overload for "ToString" and the argument count: "0".

    Tuesday, June 14, 2016 7:33 PM


  • Hello,

    What is the PS version for SQLSERVER-A? Would you please upgrade to Powershell V5 and check the result?

    You may manually run GeneralAlwaysOnDiscovery.ps1 on SQLSERVER-A and check the result.

    Here is an article about upgrade to PowerShell 5, hope it helps.



    Yan Li

    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 tnmff@microsoft.com.

    • Proposed as answer by Yan Li_ Thursday, June 23, 2016 1:31 AM
    • Marked as answer by Yan Li_ Friday, June 24, 2016 2:56 AM
    Wednesday, June 15, 2016 1:29 AM