问题描述
大家好,
我的容器的cmd上有一个问题:编写:Install-WindowsFeature" FS-DFS-Replication"," FS- DFS-命名空间" -IncludeManagementTools
I have a problem on the cmd of my container by writing this : Install-WindowsFeature "FS-DFS-Replication", "FS-DFS-Namespace" -IncludeManagementTools
我有这样的错误:Install-WindowsFeature:字典中没有给定的密钥。
在行:1 char:1
+ Install-WindowsFeature" FS-DFS-Replication"," FS-DFS-Namespace" -Incl ...
$
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo :NotSpecified :( :) [Install-WindowsFeature],KeyNotFoundException
+ FullyQualifiedErrorId:System.Collections.Generic.KeyNotFoundException,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
I have this error : Install-WindowsFeature : The given key was not present in the dictionary.
At line:1 char:1
+ Install-WindowsFeature "FS-DFS-Replication", "FS-DFS-Namespace" -Incl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-WindowsFeature], KeyNotFoundException
+ FullyQualifiedErrorId : System.Collections.Generic.KeyNotFoundException,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
有没有人有解决方案?
谢谢!
推荐答案
功能和逗号(,)之间没有空格。
No space between the features and comma (,).
这篇关于Install-WindowsFeature:字典中不存在给定的键。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!