<?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: get VMDK file locations in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495247#M14943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;vmName&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;MyVM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-VM&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-&lt;/SPAN&gt;Name &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;vmName&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-HardDisk&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Select Name&lt;SPAN style="color: #a9a9a9;"&gt;,&lt;/SPAN&gt;FileName&lt;SPAN style="color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;@&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;N&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;Datastore&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;{$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;_.FileName.Split&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)[&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;]&lt;/SPAN&gt;.TrimStart&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2019 13:21:15 GMT</pubDate>
    <dc:creator>LucD</dc:creator>
    <dc:date>2019-08-21T13:21:15Z</dc:date>
    <item>
      <title>get VMDK file locations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495246#M14942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to get a specific VM, and list it's VMDKs, and where they are stored (datastore name). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 12:40:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495246#M14942</guid>
      <dc:creator>MRoushdy</dc:creator>
      <dc:date>2019-08-21T12:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: get VMDK file locations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495247#M14943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;vmName&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;MyVM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-VM&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-&lt;/SPAN&gt;Name &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;vmName&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-HardDisk&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Select Name&lt;SPAN style="color: #a9a9a9;"&gt;,&lt;/SPAN&gt;FileName&lt;SPAN style="color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;@&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;N&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;Datastore&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;{$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;_.FileName.Split&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)[&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;]&lt;/SPAN&gt;.TrimStart&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 13:21:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495247#M14943</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2019-08-21T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: get VMDK file locations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495248#M14944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but, I've found that the following command gets the exact result I needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get-vm VMNAME | get-harddisk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 07:22:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495248#M14944</guid>
      <dc:creator>MRoushdy</dc:creator>
      <dc:date>2019-08-22T07:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: get VMDK file locations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495249#M14945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me, but that is basically the same as I gave you.&lt;BR /&gt;My snippet gives exactly what you asked (the datastore)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 07:24:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495249#M14945</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2019-08-22T07:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: get VMDK file locations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495250#M14946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will always be our PowerCLi Guru and Savior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 09:49:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/get-VMDK-file-locations/m-p/495250#M14946</guid>
      <dc:creator>MRoushdy</dc:creator>
      <dc:date>2019-08-22T09:49:01Z</dc:date>
    </item>
  </channel>
</rss>

