Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The specified module 'ECEClient.psm1' was not loaded

オープン
#535 コメント 5 件 リアクション 1 件 担当者 1 名 GitHub で見る

@bganapa がすでに取り組んでいます。

2020年4月10日 から。

評価

この issue はまだ評価されていません。

説明

New deployment get's stuck in validation section:

  1. Enter-PSSession -ComputerName LOCALHOST -ConfigurationName PrivilegedEndpoint
    *Temporary work around is to only use Enter-PSSession -ComputerName LOCALHOST

  2. Test-AzureStack
    *The specified module 'ECEClient.psm1' was not loaded because no valid module file was found
    **Attempted to manually load Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Diagnostics.DataCollection\ECEServiceClient\ECEClient.psm1' but still got same error

Validate the ASDK installation
To ensure that your ASDK deployment was successful, use the Test-AzureStack cmdlet by following these steps:
Sign in as AzureStack\AzureStackAdmin on the ASDK host computer.
Open PowerShell as an admin (not PowerShell ISE).
Run: Enter-PSSession -ComputerName LOCALHOST -ConfigurationName PrivilegedEndpoint
Run: Test-AzureStack
The tests take a few minutes to complete. If the installation was successful, the output looks something like:

PS C:\AzureStack-Tools-master> Enter-PSSession -ComputerName LOCALHOST -ConfigurationName PrivilegedEndpoint
Enter-PSSession : Connecting to remote server LOCALHOST failed with the following error message : The WS-Management service cannot process the
request. Cannot find the PrivilegedEndpoint session configuration in the WSMan: drive on the LOCALHOST computer. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1

  • Enter-PSSession -ComputerName LOCALHOST -ConfigurationName Privileged ...
  •   + CategoryInfo          : InvalidArgument: (LOCALHOST:String) [Enter-PSSession], PSRemotingTransportException
      + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    
    
    

PS C:> Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Diagnostics.DataCollection\ECEServiceClient\ECEClient.psm1'
WARNING: The names of some imported commands from the module 'ECEClient' include unapproved verbs that might make them
less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose
parameter. For a list of approved verbs, type Get-Verb.
PS C:> Test-AzureStack
11/20/2019 20:43:56 : Unexpected exception getting Azure Stack health status. The specified module 'ECEClient.psm1' was not loaded because no valid module file was found in any module directory.
11/20/2019 20:43:56 :
Call Get-AzureStackLog for additional diagnostics

Import-Module : The specified module 'ECEClient.psm1' was not loaded because no valid module file was found in any
module directory.
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Diagnostics.Validator\Microsoft.AzureStack.Diagnosti
cs.Validator.psm1:112 char:9

  •     Import-Module -Name ECEClient.psm1 -Verbose:$false -DisableNa ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ResourceUnavailable: (ECEClient.psm1:String) [Import-Module], FileNotFoundException
    • FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
主要言語
PowerShell
スター
258
フォーク
283
平均マージ
2時間 11分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/AzureStack-Tools のほかの issue

Azure/AzureStack-Tools の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。