<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Running a PowerCLI Scheduled task</title>
	<atom:link href="http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/</link>
	<description>Virtually everything is poshable</description>
	<lastBuildDate>Wed, 10 Mar 2010 20:18:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Powershell Scipt for VMware View / vSphere, Who is logged into which VM? &#171; Virtualised Reality</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1752</link>
		<dc:creator>Powershell Scipt for VMware View / vSphere, Who is logged into which VM? &#171; Virtualised Reality</dc:creator>
		<pubDate>Sun, 24 Jan 2010 17:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1752</guid>
		<description>[...] The script can either be ran as needed or scheduled to run using Windows Scheduled Tasks, for information on how to do this check out Alan Renouf’s blog post http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/ [...]</description>
		<content:encoded><![CDATA[<p>[...] The script can either be ran as needed or scheduled to run using Windows Scheduled Tasks, for information on how to do this check out Alan Renouf’s blog post <a href="http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/" rel="nofollow">http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PowerCLI: Document the ESX Hostname of the vCenter VM &#171; ICT-Freak.nl</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1675</link>
		<dc:creator>PowerCLI: Document the ESX Hostname of the vCenter VM &#171; ICT-Freak.nl</dc:creator>
		<pubDate>Tue, 05 Jan 2010 11:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1675</guid>
		<description>[...] You can schedule this script on a VM that runs on another cluster or maybe better, schedule the script on a physical box. If you want to know how to schedule a Powershell/CLI script, go check out this post from Alan Renouf: http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/ [...]</description>
		<content:encoded><![CDATA[<p>[...] You can schedule this script on a VM that runs on another cluster or maybe better, schedule the script on a physical box. If you want to know how to schedule a Powershell/CLI script, go check out this post from Alan Renouf: <a href="http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/" rel="nofollow">http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Chung</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1193</link>
		<dc:creator>Steve Chung</dc:creator>
		<pubDate>Tue, 20 Oct 2009 21:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1193</guid>
		<description>Hi 
just to let you know that the following script doesn&#039;t run, could you please help my give more clear instruction as how to make it work.

I tried to run this script from vSphere PowerCLI on my desktop. and I simply replace MyScript.ps1 with my own script called &quot;DailyReport.ps1&quot;. I got error, could you please help.

C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\VMware\Infrastructure\vSphere PowerCLI\vim.psc1″ ” &amp;  “C:\Scripts\MyScript.ps1″

thanks

hope to hear from you soon.

Best Regards,

Steve Chung</description>
		<content:encoded><![CDATA[<p>Hi<br />
just to let you know that the following script doesn&#8217;t run, could you please help my give more clear instruction as how to make it work.</p>
<p>I tried to run this script from vSphere PowerCLI on my desktop. and I simply replace MyScript.ps1 with my own script called &#8220;DailyReport.ps1&#8243;. I got error, could you please help.</p>
<p>C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\VMware\Infrastructure\vSphere PowerCLI\vim.psc1″ ” &amp;  “C:\Scripts\MyScript.ps1″</p>
<p>thanks</p>
<p>hope to hear from you soon.</p>
<p>Best Regards,</p>
<p>Steve Chung</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chrisfoo</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1104</link>
		<dc:creator>Chrisfoo</dc:creator>
		<pubDate>Thu, 01 Oct 2009 04:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1104</guid>
		<description>Thanks Al, much appreciated. 

Cheers Chris</description>
		<content:encoded><![CDATA[<p>Thanks Al, much appreciated. </p>
<p>Cheers Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtu-Al</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1089</link>
		<dc:creator>Virtu-Al</dc:creator>
		<pubDate>Tue, 29 Sep 2009 15:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1089</guid>
		<description>&lt;a href=&quot;#comment-1083&quot; rel=&quot;nofollow&quot;&gt;@Chrisfoo &lt;/a&gt; 
Hi, the above cmd line is to be used in a scheduled task window, if you are trying to run this from the powershell prompt then you can just CD into the folder and do:

.\DailyReport.ps1 YOURVISERVER

As you have custom connection ports and credentials you will need to edit the script manualy and find the line which does a connect-viserver and adjust it to work as specified in your comment.

Hope this helps.</description>
		<content:encoded><![CDATA[<p><a href="#comment-1083" rel="nofollow">@Chrisfoo </a><br />
Hi, the above cmd line is to be used in a scheduled task window, if you are trying to run this from the powershell prompt then you can just CD into the folder and do:</p>
<p>.\DailyReport.ps1 YOURVISERVER</p>
<p>As you have custom connection ports and credentials you will need to edit the script manualy and find the line which does a connect-viserver and adjust it to work as specified in your comment.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chrisfoo</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1083</link>
		<dc:creator>Chrisfoo</dc:creator>
		<pubDate>Tue, 29 Sep 2009 05:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1083</guid>
		<description>Hi There, I am new to powershell and having a few issues with getting this DailyReport to work the ways that have been mentioned in sch tasks and command prompts, 
Our Vcenter uses a different Port
1. I have to first do this: Proxy stops Connection: Set-VIToolkitConfiguration -ProxyPolicy NoProxy 

I can then connect with this: Connect-viserver -server vcenter server-Port 1443 -Credential (Get-Credential servername\administrator) (THIS CONNECTION WORKS)

But if i try and run the suggestions at the thread above i get this
[VI Toolkit] C:\Program Files\VMware\Infrastructure\VIToolkitForWindows&gt; C:\WIND
OWS\systems32\windowspowershell\v1.0\powershell.exe -PSConsoleFile &quot;C:\ProgramFi
les\VMware\Infrastructure\VIToolkitForWindows\vim.psc1&quot; &quot;&amp; &#039;C:\Scripts\DailyRepo
rt.ps1 vcenterserver -Port 1443&quot;
The term &#039;C:\WINDOWS\systems32\windowspowershell\v1.0\powershell.exe&#039; is not re
cognized as a cmdlet, function, operable program, or script file. Verify the te
rm and try again.
At line:1 char:59

I can VI connect using Ecoshell gui to vcenter also, but how do you run the DailyReport from there?

Any help would be much appreciated as i would like to be able to manage vcenter with Powershell</description>
		<content:encoded><![CDATA[<p>Hi There, I am new to powershell and having a few issues with getting this DailyReport to work the ways that have been mentioned in sch tasks and command prompts,<br />
Our Vcenter uses a different Port<br />
1. I have to first do this: Proxy stops Connection: Set-VIToolkitConfiguration -ProxyPolicy NoProxy </p>
<p>I can then connect with this: Connect-viserver -server vcenter server-Port 1443 -Credential (Get-Credential servername\administrator) (THIS CONNECTION WORKS)</p>
<p>But if i try and run the suggestions at the thread above i get this<br />
[VI Toolkit] C:\Program Files\VMware\Infrastructure\VIToolkitForWindows&gt; C:\WIND<br />
OWS\systems32\windowspowershell\v1.0\powershell.exe -PSConsoleFile &#8220;C:\ProgramFi<br />
les\VMware\Infrastructure\VIToolkitForWindows\vim.psc1&#8243; &#8220;&amp; &#8216;C:\Scripts\DailyRepo<br />
rt.ps1 vcenterserver -Port 1443&#8243;<br />
The term &#8216;C:\WINDOWS\systems32\windowspowershell\v1.0\powershell.exe&#8217; is not re<br />
cognized as a cmdlet, function, operable program, or script file. Verify the te<br />
rm and try again.<br />
At line:1 char:59</p>
<p>I can VI connect using Ecoshell gui to vcenter also, but how do you run the DailyReport from there?</p>
<p>Any help would be much appreciated as i would like to be able to manage vcenter with Powershell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scheduling VMware&#8217;s FT (Fault Tolerance)</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-1049</link>
		<dc:creator>Scheduling VMware&#8217;s FT (Fault Tolerance)</dc:creator>
		<pubDate>Tue, 22 Sep 2009 12:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-1049</guid>
		<description>[...] Using the great post from Virtu-al, we apply a little magic to Windows Task Scheduler using a command line similar [...]</description>
		<content:encoded><![CDATA[<p>[...] Using the great post from Virtu-al, we apply a little magic to Windows Task Scheduler using a command line similar [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slimboyfat</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-825</link>
		<dc:creator>slimboyfat</dc:creator>
		<pubDate>Thu, 20 Aug 2009 14:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-825</guid>
		<description>&lt;a href=&quot;#comment-824&quot; rel=&quot;nofollow&quot;&gt;@Virtu-Al  &lt;/a&gt; 

That seems to have sorted it - although I already had the VMWare stuff loaded (it &quot;complains&quot; if I run it interactively) but I&#039;m not goiing to worry! 

The script is excellent - thanks for all your help!!

Jack</description>
		<content:encoded><![CDATA[<p><a href="#comment-824" rel="nofollow">@Virtu-Al  </a> </p>
<p>That seems to have sorted it &#8211; although I already had the VMWare stuff loaded (it &#8220;complains&#8221; if I run it interactively) but I&#8217;m not goiing to worry! </p>
<p>The script is excellent &#8211; thanks for all your help!!</p>
<p>Jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtu-Al</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-824</link>
		<dc:creator>Virtu-Al</dc:creator>
		<pubDate>Thu, 20 Aug 2009 14:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-824</guid>
		<description>&lt;a href=&quot;#comment-816&quot; rel=&quot;nofollow&quot;&gt;@slimboyfat &lt;/a&gt; 
Ok, Try this: 

C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1″ “&amp; ‘C:\Scripts\VMDailyReport.ps1′ TESTVC01″</description>
		<content:encoded><![CDATA[<p><a href="#comment-816" rel="nofollow">@slimboyfat </a><br />
Ok, Try this: </p>
<p>C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1″ “&#038; ‘C:\Scripts\VMDailyReport.ps1′ TESTVC01″</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slimboyfat</title>
		<link>http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/comment-page-1/#comment-823</link>
		<dc:creator>slimboyfat</dc:creator>
		<pubDate>Thu, 20 Aug 2009 14:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=756#comment-823</guid>
		<description>&lt;a href=&quot;#comment-817&quot; rel=&quot;nofollow&quot;&gt;@Virtu-Al &lt;/a&gt; 

Unfortuately it&#039;s still not working :-( 

I&#039;m obviously missing something in the syntax....</description>
		<content:encoded><![CDATA[<p><a href="#comment-817" rel="nofollow">@Virtu-Al </a> </p>
<p>Unfortuately it&#8217;s still not working <img src='http://www.virtu-al.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  </p>
<p>I&#8217;m obviously missing something in the syntax&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
