通过Powershell获取Windows Server主机中DNS服务器的IP
我正在查看 powershell 参考满足以下需求:
我有一台托管 DNS 服务器的远程 Windows Server 计算机。我正在尝试执行远程 power-shell 命令以使用 此参考。但是 - 当在大多数调用中指定 ComputerName 参数时,提供远程 Windows 服务器计算机 IP 似乎是不够的 - 似乎我需要提供 DNS 服务器 IP 本身。
是否有一个调用/一组调用可以帮助我获取此数据?
I was looking at the powershell reference for the following need:
I have a remote Windows Server machine hosting a DNS Server. I'm trying to execute remote power-shell commands to obtain the DNS server information using this reference. However - when Specifying the ComputerName parameter in most of the calls, it seems that providing the remote windows server machine IP is insufficient - it seems like I need to provide the DNS Server IP itself.
Is there a call / set of calls which can help me obtain this data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论