<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: List of DNS server assigned to VM in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919560#M107474</link>
    <description>&lt;P&gt;LucD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;worked like a charm , thanks a bunch&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 15:31:46 GMT</pubDate>
    <dc:creator>fborges555</dc:creator>
    <dc:date>2022-07-20T15:31:46Z</dc:date>
    <item>
      <title>List of DNS server assigned to VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919314#M107446</link>
      <description>&lt;P&gt;Hi gurus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a script the bring me the information of the DNS server/IP that a VM has&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-vm | select name , Here is where I am having trouble getting the DNSserver for the vm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 12:36:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919314#M107446</guid>
      <dc:creator>fborges555</dc:creator>
      <dc:date>2022-07-19T12:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: List of DNS server assigned to VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919321#M107447</link>
      <description>&lt;P&gt;That info is coming from the Guest OS, so it is not available for all operating systems.&lt;BR /&gt;For most Windows OS, and provided VMware Tools are running, you can do&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;Get-VM |
Select-Object Name, @{N = 'DNSServers'; E = { $_.ExtensionData.Guest.Net.dnsconfig.ipaddress -join '|'}}
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;To have this info for types of Guest OS, you could consider running a Guest OS native script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 13:02:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919321#M107447</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-07-19T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: List of DNS server assigned to VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919560#M107474</link>
      <description>&lt;P&gt;LucD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;worked like a charm , thanks a bunch&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 15:31:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/List-of-DNS-server-assigned-to-VM/m-p/2919560#M107474</guid>
      <dc:creator>fborges555</dc:creator>
      <dc:date>2022-07-20T15:31:46Z</dc:date>
    </item>
  </channel>
</rss>

