Can't complete configuration because cmdlet cannot be found
-
5 ноября 2010 г. 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 ноября 2010 г. 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 Employee 5 ноября 2010 г. 16:55
-
5 ноября 2010 г. 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 ноября 2010 г. 18:28
-
19 ноября 2011 г. 17:49
I'm encountring the same problem any solution pleaseAfter 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
.NET forever

