<?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: Retrieve the history of vmdk migrations in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993964#M113684</link>
    <description>&lt;P&gt;Thanks LucD.&amp;nbsp; That is the conclusion I was coming to.&amp;nbsp; I'll check out your linked script.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 16:56:51 GMT</pubDate>
    <dc:creator>dscottimw</dc:creator>
    <dc:date>2023-11-02T16:56:51Z</dc:date>
    <item>
      <title>Retrieve the history of vmdk migrations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993959#M113682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am in need of a way to figure out where (which datastore) a vmdk was stored on prior to putting a datastore into maintenance mode.&amp;nbsp; We have some vms that have their vmdk files placed on specific datastores based on what service they are going to provide.&amp;nbsp; So some vmdks live on a datastore made up of SSD's because their workloads require ssd performance and some vmdks for that same vm live on datastores backed by spinning disk because they're workloads are more capacity specific.&amp;nbsp; I needed to do some maintenance on the datastores which are part of a datastore cluster and when I put the datastore in maintenance mode the the vmdk's from both those datastores were moved from their respective datastores to the remaining datastore in the cluster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I"m trying to use powercli to read the logs to find out which vmdks came from where but I'm having difficulty identifying the correct event type to filter on in my get-vievent command. I've attached where I've gotten to so far.&amp;nbsp; Can anyone help point me in a direction?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 16:22:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993959#M113682</guid>
      <dc:creator>dscottimw</dc:creator>
      <dc:date>2023-11-02T16:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the history of vmdk migrations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993962#M113683</link>
      <description>&lt;P&gt;Afaik there are no events for individual VMDK moves.&lt;BR /&gt;You can look at the VMMigratedEvent and the DRSVMMigratedEvent, but they cover the VM itself.&lt;BR /&gt;&lt;BR /&gt;Perhaps you can check with my script from&amp;nbsp;&lt;A href="https://www.lucd.info/2013/03/31/get-the-vmotionsvmotion-history/" target="_blank" rel="noopener"&gt;Get the vMotion/svMotion history&lt;/A&gt; to verify if that shows the individual VMDK that was moved to another datastore.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 16:43:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993962#M113683</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-11-02T16:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the history of vmdk migrations</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993964#M113684</link>
      <description>&lt;P&gt;Thanks LucD.&amp;nbsp; That is the conclusion I was coming to.&amp;nbsp; I'll check out your linked script.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 16:56:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Retrieve-the-history-of-vmdk-migrations/m-p/2993964#M113684</guid>
      <dc:creator>dscottimw</dc:creator>
      <dc:date>2023-11-02T16:56:51Z</dc:date>
    </item>
  </channel>
</rss>

