小编Moh*_*Ali的帖子

PowerShell无法识别命令Resolve-DnsName

电源shell脚本出错,

Import-Module DnsClient 
Run Code Online (Sandbox Code Playgroud)
Import-Module : The specified module 'DnsClient' was not loaded because no
valid module file was found in any module directory.
At line:1 char:1
+ Import-Module DnsClient
+ ~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo : ResourceUnavailable: (DnsClient:String) [Import-Module], FileNotFoundException
     + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand 
Resolve-DnsName
Run Code Online (Sandbox Code Playgroud)
Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is …

powershell powershell-2.0

1
推荐指数
1
解决办法
4400
查看次数

标签 统计

powershell ×1

powershell-2.0 ×1