【发布时间】:2016-09-19 15:32:33
【问题描述】:
我正在尝试生成一个机器密钥以放置在我的网络配置中,但它说它无法识别。我已经阅读了以下问题并使用相同的命令但没有成功Generate Machine Key。请检查我在做什么:
我从微软网站获取Powershell Script,然后执行以下命令:
PS C:\> C:\Users\myuser\Desktop\Docs\KeyGeneration\machinekey.ps1
然后
PS C:\> Generate-MachineKey -validationAlgorithm SHA1
上面写着:
The term 'Generate-MachineKey' is not recognized as the name of a cmdlet, function, script file
【问题讨论】:
标签: asp.net powershell iis machine.config