<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechHead.co.uk &#187; PowerShell</title>
	<atom:link href="http://www.techhead.co.uk/category/microsoft/powershell/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techhead.co.uk</link>
	<description>TechHead.co.uk is a site dedicated to information on various IT technologies, solutions, fixes and IT news. Topic areas include HP Proliant Servers &#38; Storage, VMware vSphere,ESX,ESXi, Microsoft Hyper V and Windows Server</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:17:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Misleading &#8216;Pipe&#8217; Symbol Location on Microsoft Keyboard</title>
		<link>http://www.techhead.co.uk/misleading-pipe-symbol-location-on-microsoft-keyboard</link>
		<comments>http://www.techhead.co.uk/misleading-pipe-symbol-location-on-microsoft-keyboard#comments</comments>
		<pubDate>Mon, 10 Jan 2011 07:00:00 +0000</pubDate>
		<dc:creator>Simon Seagrave</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.techhead.co.uk/misleading-pipe-symbol-location-on-microsoft-keyboard</guid>
		<description><![CDATA[During my first proper outing into the world of VMware PowerCLI I had to start using the pipe (ie: &#124; ) symbol in some of my command expressions within the command window.&#160; Now, the pipe symbol on my Microsoft keyboard appeared straight forward enough (see image below) on the keyboard’s layout though upon pressing it [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<div class="mti_div">
<a href="http://www.techhead.co.uk/category/microsoft" title="Microsoft"><img src="/wp-images/icons/topic_microsoft.jpg" class="mti_icon" width="111" height="107" alt="Microsoft" /></a>
<!-- no icon for 'PowerShell' --></div>
<div class="KonaBody"><p>During my first proper outing into the world of VMware PowerCLI I had to start using the pipe (ie: | ) symbol in some of my command expressions within the command window.&#160; Now, the pipe symbol on my Microsoft keyboard appeared straight forward enough (see image below) on the keyboard’s layout though upon pressing it in the PowerCLI window I received a broken looking pipe symbol instead (ie: ¦ ) which of course PowerCLI doesn’t like when I tried to execute the command.&#160; Strangely enough when I pressed shift and the broken pipe looking symbol to the left of the ‘z’ key this, unsurprisingly, produced a broken pipe symbol… though upon executing the command in the PowerCLI window it worked.</p>
<p><strong>Lesson Learnt:</strong> Use ‘shift’ and the broken pipe symbol (see below) on my Microsoft keyboard to achieve the pipe symbol, even if it doesn’t look like a pipe symbol in the PowerCLI command window or on the physical keyboard.&#160; Note: I did check that I had the correct keyboard mappings in place within my Windows 7 OS.</p>
<p><a href="http://www.techhead.co.uk/wp-content/uploads/2011/01/Microsoft-Keyboard-Pipe-Symbol.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Microsoft Keyboard Pipe Symbol" border="0" alt="Microsoft Keyboard Pipe Symbol" src="http://www.techhead.co.uk/wp-content/uploads/2011/01/Microsoft-Keyboard-Pipe-Symbol_thumb.jpg" width="260" height="244" /></a></p>
<p>&#160;</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:602d3bb1-24b5-433f-b301-b5a12dfe5100" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Microsoft" rel="tag">Microsoft</a>,<a href="http://technorati.com/tags/keyboard" rel="tag">keyboard</a>,<a href="http://technorati.com/tags/pipe" rel="tag">pipe</a>,<a href="http://technorati.com/tags/symbol" rel="tag">symbol</a>,<a href="http://technorati.com/tags/PowerCLI" rel="tag">PowerCLI</a></div></p>
</div><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.techhead.co.uk/misleading-pipe-symbol-location-on-microsoft-keyboard/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Task Scheduler to run a PowerShell Script</title>
		<link>http://www.techhead.co.uk/using-task-scheduler-to-run-a-powershell-script</link>
		<comments>http://www.techhead.co.uk/using-task-scheduler-to-run-a-powershell-script#comments</comments>
		<pubDate>Mon, 15 Jun 2009 19:15:52 +0000</pubDate>
		<dc:creator>Simon Seagrave</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.techhead.co.uk/using-task-scheduler-to-run-a-powershell-script</guid>
		<description><![CDATA[Although this is quite a straight forward thing to implement searching around on the web it did appear that there is some confusion around what to put where when specifying a PowerShell script from Windows Server Task Scheduler.&#160; So I thought I’d put together this brief post.&#160; In this example I am using MS Windows [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<div class="mti_div">
<!-- no icon for 'PowerShell' --></div>
<div class="KonaBody"><p>Although this is quite a straight forward thing to implement searching around on the web it did appear that there is some confusion around what to put where when specifying a PowerShell script from Windows Server Task Scheduler.&#160; </p>
<p>So I thought I’d put together this brief post.&#160; In this example I am using MS Windows Server 2008 to schedule a PowerShell to run.&#160; If we were to try and run a PowerShell from a normal command line we’d type the following:</p>
<p><em>powershell.exe –Noninteractive –Noprofile –Command “&amp;{&lt;fullpath to script&gt;}”</em></p>
<p>Notice that I didn’t specify the path to the powershell executable – the reason for this being that I have the path already specified in the servers Path environment variable, ie: %SystemRoot%\system32\WindowsPowerShell\v1.0\</p>
<p>If you haven’t already done this you’ll have to specify the full path to the PowerShell executable – this is a real faff (a technical term&#160; <img src='http://www.techhead.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) so I’d recommend adding it your path environment variable if you haven’t done so.</p>
<p>When scheduling a new task and specifying the action (ie: in this case running a PowerShell script) the core of your syntax will be in the ‘Arguments’ section of the action (see below).</p>
<p>Use the image below as a template and enter the directory containing your PowerShell script in the ‘Start in’ setting field.</p>
<p><a href="http://www.techhead.co.uk/wp-content/uploads/2009/06/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.techhead.co.uk/wp-content/uploads/2009/06/image-thumb2.png" width="396" height="424" /></a></p>
<p>When completed you should have something similar to the action below. </p>
<p><a href="http://www.techhead.co.uk/wp-content/uploads/2009/06/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.techhead.co.uk/wp-content/uploads/2009/06/image-thumb3.png" width="424" height="317" /></a> </p>
<p>Happy PowerShelling…&#160; <img src='http://www.techhead.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:066db10a-0119-4eb6-b24f-9da374f657e8" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Microsoft" rel="tag">Microsoft</a>,<a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/Task" rel="tag">Task</a>,<a href="http://technorati.com/tags/Scheduler" rel="tag">Scheduler</a>,<a href="http://technorati.com/tags/Server" rel="tag">Server</a>,<a href="http://technorati.com/tags/2008" rel="tag">2008</a>,<a href="http://technorati.com/tags/how" rel="tag">how</a>,<a href="http://technorati.com/tags/to" rel="tag">to</a></div>
</div><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.techhead.co.uk/using-task-scheduler-to-run-a-powershell-script/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.techhead.co.uk @ 2012-02-08 10:47:07 -->
