<?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: Autostart - Shutdown scheduling of vms in ESXi Discussions</title>
    <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401995#M134094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi J0sh1 and welcome to the community &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes there is - you can use Schedule Tasks to achieve this by having a task that changes the power state of VMs. Rather than try and explain take a look at this link: &lt;A href="https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-03B90638-6C70-4379-8CAF-D66866D115F4.html" title="https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-03B90638-6C70-4379-8CAF-D66866D115F4.html"&gt;vSphere 6.0 Documentation Center&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2016 11:22:10 GMT</pubDate>
    <dc:creator>ThompsG</dc:creator>
    <dc:date>2016-10-25T11:22:10Z</dc:date>
    <item>
      <title>Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401994#M134093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any possibility to schedule shutdown and start of vms automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if someone of you have a good hint for me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 07:35:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401994#M134093</guid>
      <dc:creator>j0sh1</dc:creator>
      <dc:date>2016-10-25T07:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401995#M134094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi J0sh1 and welcome to the community &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes there is - you can use Schedule Tasks to achieve this by having a task that changes the power state of VMs. Rather than try and explain take a look at this link: &lt;A href="https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-03B90638-6C70-4379-8CAF-D66866D115F4.html" title="https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-03B90638-6C70-4379-8CAF-D66866D115F4.html"&gt;vSphere 6.0 Documentation Center&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 11:22:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401995#M134094</guid>
      <dc:creator>ThompsG</dc:creator>
      <dc:date>2016-10-25T11:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401996#M134095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a powershell script which i was able to get from the community several years ago and still use it to this day. I schedule a shutdown and startup every weekend. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 12:25:52 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401996#M134095</guid>
      <dc:creator>EXPRESS</dc:creator>
      <dc:date>2016-10-25T12:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401997#M134096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.600000381469727px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="29608" data-username="ThompsG" href="https://communities.vmware.com/people/ThompsG" name="&amp;amp;amp;lpos=apps_scodevmw : 83" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3399cc;"&gt;ThompsG&lt;/A&gt;Hi ThompsG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.600000381469727px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;Thanks for your reply - but as i understand from the documentation - the webclient is only for licensed esxi hosts. Unfortunately im using the free esxi 6 host&amp;nbsp; &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@A5AF993F89FC883B1750F8915C03D452/emoticons/1f615.png" alt=":confused_face:" title=":confused_face:" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.600000381469727px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.600000381469727px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:26:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401997#M134096</guid>
      <dc:creator>j0sh1</dc:creator>
      <dc:date>2016-10-25T13:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401998#M134097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds intresting - where does the script run and could you provide me your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:28:03 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401998#M134097</guid>
      <dc:creator>j0sh1</dc:creator>
      <dc:date>2016-10-25T13:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401999#M134098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shutdown using... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# This Script will PowerOff VM's listed in c:\vmlist.txt&lt;/P&gt;&lt;P&gt;add-PSSnapin VMware.VimAutomation.Core | Out-Null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-VIServer vcenter-server -User domain\adm -Pass 123456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Get VM's from c:\vmlist.txt then ShutDown each one.&lt;/P&gt;&lt;P&gt; Get-Content C:\Scripts\vmlist.txt | % { Get-VM $_ | Shutdown-VMGuest -Confirm:$false }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Get VM's from c:\vmlist.txt then Restart each one.&lt;/P&gt;&lt;P&gt;# Get-Content C:\vmlist.txt | % { Get-VM $_ | Restart-VMGuest -Confirm:$false }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Email log file&lt;/P&gt;&lt;P&gt; send-mailmessage -SmtpServer "smtp.domain.com" `&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-from "VM-ShutDown &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:machine@domain.com"&gt;machine@domain.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;" `&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-to "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Admin@domain.com"&gt;Admin@domain.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;" `&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-subject "ShutDown_$((get-date).toString('MM-dd-yyyy_hh:mmtt'))" `&lt;/P&gt;&lt;P&gt;-body "VM ShutDown Script has been sent"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 17:52:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1401999#M134098</guid>
      <dc:creator>EXPRESS</dc:creator>
      <dc:date>2016-10-25T17:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1402000#M134099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But you always need a Windows Client to run this script or im wrong?&lt;/P&gt;&lt;P&gt;Actually I need a possibility to manage the scheduled task just from the bare ESXi instance - is there any way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 16:50:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1402000#M134099</guid>
      <dc:creator>j0sh1</dc:creator>
      <dc:date>2016-11-03T16:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1402001#M134100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume that if we have SCCM auto reboot can be enabled ,there is any pros by doing this in Vcenter level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:07:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1402001#M134100</guid>
      <dc:creator>rampeter</dc:creator>
      <dc:date>2016-11-04T17:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Autostart - Shutdown scheduling of vms</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1402002#M134101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve this by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Creating a scheduled task in vCenter: Home &amp;gt; Scheduled Tasks &amp;gt; New&lt;/P&gt;&lt;P&gt;2. Writing a powershell script and creating a scheduled task in a Windows server to trigger the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 12:14:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Autostart-Shutdown-scheduling-of-vms/m-p/1402002#M134101</guid>
      <dc:creator>amansapra19</dc:creator>
      <dc:date>2016-11-07T12:14:30Z</dc:date>
    </item>
  </channel>
</rss>

