ネットワーク上の他のサーバーへのリモートセッション中にロードしたいモジュールをネットワーク共有に配置しています。
ここに私のコマンド:
enter-pssession remoteserver
import-module \\shareserver\sharefolder\SPModule.misc
エラーは次のとおりです。
Import-Module : The specified module 'SPModule.misc' was not loaded because no valid module file was found in any module directory.
+ CategoryInfo : ResourceUnavailable: (SPModule.misc:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
モジュールをネットワーク共有からロードできないのですか、それとも何が間違っているのですか?
ありがとう