Locked Can't complete configuration because cmdlet cannot be found

  • 5 พฤศจิกายน 2553 15:00
     
     

    After installing AppFabric using the MSI I am trying to setup the correct databases using the Initialize-ASMonitoringDatabase cmdlet but without any success.

    I am getting the following error and have not been able to find any comments about a similar error or issue. I am administrator on the machine.

    Steps to repro:

    - Open up Windows PowerShell (run as Administrator)

     - type in "Initialize-ASMonitoringDatabase"

     - get error

     

    Error:

    The term 'Initialize-ASMonitoringDatabase' is not recognized as the name of a cmdlet, function, script file, or operabl
    e program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:32
    + Initialize-ASMonitoringDatabase <<<<
        + CategoryInfo          : ObjectNotFound: (Initialize-ASMonitoringDatabase:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

ตอบทั้งหมด

  • 5 พฤศจิกายน 2553 16:53
     
     คำตอบที่เสนอ

    I think you can use Initialize-ASMonitoringSqlDatabase. Can you try this? I don't have the non-"SQL" version of this command in my installation either. It may be a documentation error.

    Thanks.

    Jason Roth

    • เสนอเป็นคำตอบโดย JasonRothMicrosoft 5 พฤศจิกายน 2553 16:55
    •  
  • 5 พฤศจิกายน 2553 18:28
     
     คำตอบ

    The systems administrator that I work with was able to find the solution. Below is a copy of the email that he sent me.

    The AppFabric cmdlets were blowing up when you tried them because you probably launched PowerShell from the taskbar. It happened to me the first time I tried it with a message about that particular command not existing. If you go through Administrative Tools > Windows PowerShell Modules it actually loads all of the modules installed on the machine before beginning your session. They explain it in the first paragraph in this article.

     

    http://msdn.microsoft.com/en-us/library/ee677295.aspx

     

    • ทำเครื่องหมายเป็นคำตอบโดย Nardax 5 พฤศจิกายน 2553 18:28
    •  
  • 19 พฤศจิกายน 2554 17:49
     
     

    After installing AppFabric using the MSI I am trying to setup the correct databases using the Initialize-ASMonitoringDatabase cmdlet but without any success.

    I am getting the following error and have not been able to find any comments about a similar error or issue. I am administrator on the machine.

    Steps to repro:

    - Open up Windows PowerShell (run as Administrator)

     - type in "Initialize-ASMonitoringDatabase"

     - get error

     

    Error:

    The term 'Initialize-ASMonitoringDatabase' is not recognized as the name of a cmdlet, function, script file, or operabl
    e program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:32
    + Initialize-ASMonitoringDatabase <<<<
        + CategoryInfo          : ObjectNotFound: (Initialize-ASMonitoringDatabase:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    I'm encountring  the same problem any solution please

    .NET forever