<?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 Error &amp;quot;Cannot convert argument...&amp;quot;  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec) in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492444#M14698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying below script from LucD (&lt;A href="https://communities.vmware.com/thread/541573"&gt;Schedule Snapshot with PowerCli&lt;/A&gt; ), but always stuck in last line with error mentioned below. Need help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'MyVM'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapTime&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"31/10/16 23:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'Test'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapDescription&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'Scheduled snapshot'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapMemory&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$false&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapQuiesce&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$true&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$emailAddr&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8b0000; font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt;&lt;A class="jive-link-email-small" href="mailto:'lucd@lucd.info" style="color: #3399cc;"&gt;'lucd@lucd.info&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #006400;"&gt;###############&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-VM&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #000080;"&gt;-Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$si&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;get-view&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;ServiceInstance&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$scheduledTaskManager&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-View&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$si&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Content&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ScheduledTaskManager&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.ScheduledTaskSpec&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"Snapshot"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;VMname &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-join&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Description &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"Take a snapshot of &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name)&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Enabled &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$true&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Notification &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$emailAddr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Scheduler &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.OnceTaskScheduler&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Scheduler&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;runat &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Action &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.MethodAction&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"CreateSnapshot_Task"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;@(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapDescription&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapMemory&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapQuiesce&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;%&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$arg&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.MethodActionArgument&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$arg&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Value &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Argument &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;+=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$arg&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$scheduledTaskManager&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;CreateObjectScheduledTask(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;MoRef&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;================================================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cannot convert argument "spec", with value: "VMware.Vim.ScheduledTaskSpec", for "CreateObjectScheduledTask" to type "VMware.Vim.ScheduledTaskSpec": "Cannot convert the &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"VMware.Vim.ScheduledTaskSpec" value of type "VMware.Vim.ScheduledTaskSpec" to type "VMware.Vim.ScheduledTaskSpec"."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;At line:66 char:1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ $scheduledTaskManager.CreateObjectScheduledTask($vm.ExtensionData.MoR ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [], MethodException&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2018 19:37:08 GMT</pubDate>
    <dc:creator>CharuK</dc:creator>
    <dc:date>2018-12-12T19:37:08Z</dc:date>
    <item>
      <title>Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492444#M14698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying below script from LucD (&lt;A href="https://communities.vmware.com/thread/541573"&gt;Schedule Snapshot with PowerCli&lt;/A&gt; ), but always stuck in last line with error mentioned below. Need help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'MyVM'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapTime&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"31/10/16 23:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'Test'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapDescription&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'Scheduled snapshot'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapMemory&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$false&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapQuiesce&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$true&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$emailAddr&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8b0000; font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt;&lt;A class="jive-link-email-small" href="mailto:'lucd@lucd.info" style="color: #3399cc;"&gt;'lucd@lucd.info&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #006400;"&gt;###############&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-VM&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #000080;"&gt;-Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$si&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;get-view&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;ServiceInstance&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$scheduledTaskManager&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-View&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$si&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Content&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ScheduledTaskManager&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.ScheduledTaskSpec&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"Snapshot"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;VMname &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-join&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Description &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"Take a snapshot of &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name)&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Enabled &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$true&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Notification &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$emailAddr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Scheduler &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.OnceTaskScheduler&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Scheduler&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;runat &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Action &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.MethodAction&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;"CreateSnapshot_Task"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;@(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapDescription&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapMemory&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$snapQuiesce&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;%&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$arg&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.MethodActionArgument&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$arg&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Value &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Argument &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;+=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$arg&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$scheduledTaskManager&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;CreateObjectScheduledTask(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;MoRef&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-size: inherit !important; font-family: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;================================================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cannot convert argument "spec", with value: "VMware.Vim.ScheduledTaskSpec", for "CreateObjectScheduledTask" to type "VMware.Vim.ScheduledTaskSpec": "Cannot convert the &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"VMware.Vim.ScheduledTaskSpec" value of type "VMware.Vim.ScheduledTaskSpec" to type "VMware.Vim.ScheduledTaskSpec"."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;At line:66 char:1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ $scheduledTaskManager.CreateObjectScheduledTask($vm.ExtensionData.MoR ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [], MethodException&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 19:37:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492444#M14698</guid>
      <dc:creator>CharuK</dc:creator>
      <dc:date>2018-12-12T19:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492445#M14699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which PowerCLI version are you using?&lt;/P&gt;&lt;P&gt;Check with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="text-align: Left; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 12; color: #000000;"&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 16;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Get-Module&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2;"&gt;&lt;SPAN&gt;VMware*&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-ListAvailable&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Where there any other errors before this one?&lt;/P&gt;&lt;P&gt;You did adjust the values at the beginning for your environment I assume?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you replace this line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="text-align: Left; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 12; color: #000000;"&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 16;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$scheduledTaskManager&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;CreateObjectScheduledTask(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;MoRef&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;with these line, and tell us what it says?&lt;/P&gt;&lt;P&gt;Make sure to hide any sensitive information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="text-align: Left; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 12; color: #000000;"&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 16;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;GetType()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;format-custom&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Depth&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 20:02:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492445#M14699</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2018-12-12T20:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492446#M14700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And for me that script is still working in PowerCLI 11.0.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 20:02:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492446#M14700</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2018-12-12T20:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492447#M14701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi LucD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PowerCLI Version&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; VMware PowerCLI 10.0.0 build 7895300&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;Component Versions&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; VMware Cis Core PowerCLI Component PowerCLI Component 10.0 build 7893915&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 10.0 build 7893909&lt;/P&gt;&lt;P&gt;======================================================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have adjsuted value as per my environemnt.&lt;/P&gt;&lt;P&gt;There is no other error before last line.&lt;/P&gt;&lt;P&gt;=======================================================================================================&lt;/P&gt;&lt;P&gt;/&amp;gt;&amp;gt;$spec | format-custom -Depth 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class ScheduledTaskSpec&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; Name = Snapshot&lt;/P&gt;&lt;P&gt;&amp;nbsp; Description = Take a snapshot of VMname&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enabled = True&lt;/P&gt;&lt;P&gt;&amp;nbsp; Scheduler =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class OnceTaskScheduler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RunAt =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class DateTime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date = 12/12/2018 12:00:00 AM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day = 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DayOfWeek = Wednesday&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DayOfYear = 346&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour = 23&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kind = Unspecified&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Millisecond = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Minute = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month = 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Second = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticks = 636802524000000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeOfDay = 23:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year = 2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime = Wednesday, December 12, 2018 11:00:00 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveTime =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpireTime =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DynamicType =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DynamicProperty =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; Action =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class MethodAction&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name = CreateSnapshot_Task&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Argument =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VMware.Vim.MethodActionArgument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VMware.Vim.MethodActionArgument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VMware.Vim.MethodActionArgument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VMware.Vim.MethodActionArgument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DynamicType =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DynamicProperty =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Notification = &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abcd@xyz.com"&gt;abcd@xyz.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DynamicType =&lt;/P&gt;&lt;P&gt;&amp;nbsp; DynamicProperty =&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 12:54:42 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492447#M14701</guid>
      <dc:creator>CharuK</dc:creator>
      <dc:date>2018-12-13T12:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492448#M14702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to ask, is that PowerShell v5.1 or Powershell Core, aka v6?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 13:03:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492448#M14702</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2018-12-13T13:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492449#M14703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSVersion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.1.14409.1018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BuildVersion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.0.14409.1018&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 13:21:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492449#M14703</guid>
      <dc:creator>CharuK</dc:creator>
      <dc:date>2018-12-13T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492450#M14704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange.&lt;/P&gt;&lt;P&gt;I ran the code you provided above, and only changed the VM and the time, and that created a scheduled task without a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be something fishy with your PowerCLI installation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you have the authority and time to uninstall your current PowerCLI (just remove the VMware folders).&lt;/P&gt;&lt;P&gt;You can check if there are any VMware folders left in any of the folders listed by &lt;STRONG&gt;$env:PSModulePath.Split(';')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then do a fresh install with (requires Internet access).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="text-align: Left; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 12; color: #000000;"&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 16;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Install-Module&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2;"&gt;&lt;SPAN&gt;VMware.PowerCLI&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 13:38:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492450#M14704</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2018-12-13T13:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Cannot convert argument..."  while Scheduling VM Snapshot with PowerCLI (ScheduledTaskSpec)</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492451#M14705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct LucD, it worked fine now after modifying modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 20:21:33 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Error-quot-Cannot-convert-argument-quot-while-Scheduling-VM/m-p/492451#M14705</guid>
      <dc:creator>CharuK</dc:creator>
      <dc:date>2018-12-26T20:21:33Z</dc:date>
    </item>
  </channel>
</rss>

