PowerShell如何解析DNS


PowerShell交流中心 › PowerShell如何解析DNS
0 赞 踩
Liu Liu asked 12 年 ago

类似与nslookup那种,给定一个域名,或着主机名,查询主机的IP地址。

1 Answers
1 赞 踩
Best Answer
Mooser Lee 管理员 answered 12 年 ago
PS> Resolve-DnsName pstips.net | select IPAddress

IPAddress
---------
162.159.208.42
162.159.209.42