<?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>The SLOG - SimonLong/Blog &#187; PowerShell Scripts</title>
	<atom:link href="http://www.simonlong.co.uk/blog/category/powershell_scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonlong.co.uk/blog</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 08:47:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PowerCLI: A Simple VM Backup Script</title>
		<link>http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/#comments</comments>
		<pubDate>Wed, 05 May 2010 08:10:32 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Gestalt IT]]></category>
		<category><![CDATA[PowerShell Scripts]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[powercli]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=2494</guid>
		<description><![CDATA[Just lately I&#39;ve been doing a lot of work in a Lab environment. Some of the work I&#39;m doing is quite important to me so I decided to workout a way I can backup my VM&#39;s onto a backup device. To my surprise this was pretty simple to do.
Here is how I decided the script [...]

<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2009/06/08/saving-event-logs-using-posh-my-first-ever-script/' rel='bookmark' title='Permanent Link: Saving Event Logs Using PoSH &#8211; My First Ever Script!'>Saving Event Logs Using PoSH &#8211; My First Ever Script!</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/' rel='bookmark' title='Permanent Link: PowerCLI: Reconfiguring NTP Servers on ESX Hosts'>PowerCLI: Reconfiguring NTP Servers on ESX Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/03/02/a-simple-vmware-esxi-rapid-deployment-system-part-3-of-3/' rel='bookmark' title='Permanent Link: A Simple VMware ESXi Rapid Deployment System &#8211; Part 3 of 3'>A Simple VMware ESXi Rapid Deployment System &#8211; Part 3 of 3</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/02/23/a-simple-vmware-esxi-rapid-deployment-system-part-1/' rel='bookmark' title='Permanent Link: A Simple VMware ESXi Rapid Deployment System &#8211; Part 1 of 3'>A Simple VMware ESXi Rapid Deployment System &#8211; Part 1 of 3</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/02/24/a-simple-vmware-esxi-rapid-deployment-system-part-2/' rel='bookmark' title='Permanent Link: A Simple VMware ESXi Rapid Deployment System – Part 2 of 3'>A Simple VMware ESXi Rapid Deployment System – Part 2 of 3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just lately I&#39;ve been doing a lot of work in a Lab environment. Some of the work I&#39;m doing is quite important to me so I decided to workout a way I can backup my VM&#39;s onto a backup device. To my surprise this was pretty simple to do.</p>
<p>Here is how I decided the script should function:</p>
<ol>
<li>Send myself an email telling me that the backup process has started</li>
<li>Import the name of the VM to be backed up and the destination datastore from a CSV file</li>
<li>Create a Snapshot of the VM I want to backup</li>
<li>Create a Clone&#39;d VM from the Snapshot
<ul>
<li>Place the backup onto my Backup Datastore</li>
<li>Name the backup &lt;master VM name&gt;-&lt;date stamp&gt;</li>
<li>Thin provision the backup</li>
</ul>
</li>
<li>Remove the Snapshot from the master VM</li>
<li>Send myself an email telling me that the backup process has completed</li>
</ol>
<p>So that&#39;s what I wanted to do, this is what I ended up with.</p>
<p><br/><a href="http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/">Read the rest of this entry »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PowerCLI: Reconfiguring NTP Servers on ESX Hosts</title>
		<link>http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 20:29:44 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[PowerShell Scripts]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[powercli]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=2216</guid>
		<description><![CDATA[Just lately I&#8217;ve been creating a lot of PowerCLI scripts to help configure various aspects of out ESX environment. We&#8217;ve just implemented a new NTP Server to our network. So I was given the job to update all of our ESX Hosts. I didn&#8217;t fancy spending all morning manually changing them, so I set to [...]

<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/' rel='bookmark' title='Permanent Link: Adding Virtual PortGroups to all ESX Hosts in a Cluster'>Adding Virtual PortGroups to all ESX Hosts in a Cluster</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/' rel='bookmark' title='Permanent Link: Adding a Virtual PortGroup to all Hosts'>Adding a Virtual PortGroup to all Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/05/28/using-vma-as-your-esxi-syslog-server/' rel='bookmark' title='Permanent Link: Using vMA As Your ESXi Syslog Server'>Using vMA As Your ESXi Syslog Server</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/06/03/vmware-esxi-4-log-files/' rel='bookmark' title='Permanent Link: VMware ESXi 4 Log Files'>VMware ESXi 4 Log Files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just lately I&#8217;ve been creating a lot of PowerCLI scripts to help configure various aspects of out ESX environment. We&#8217;ve just implemented a new NTP Server to our network. So I was given the job to update all of our ESX Hosts. I didn&#8217;t fancy spending all morning manually changing them, so I set to work in creating a PowerCLI script to do the business. Here is the result.</P></p>
<pre class="brush: powershell;">$Cluster = &quot;&lt;cluster name&gt;&quot;
$Hosts = Get-Cluster $Cluster | Get-VMHost
ForEach ($Host in $Hosts)
{
Remove-VmHostNtpServer -NtpServer &quot;&lt;old ntp server&gt;&quot; -VMHost $Host | Out-Null
Add-VmHostNtpServer -NtpServer &quot;&lt;new ntp server&gt;&quot; -VMHost $Host | Out-Null
Get-VmHostService -VMHost $Host | Where-Object {$_.key -eq &quot;ntpd&quot;} | Restart-VMHostService -Confirm:$false | Out-Null
write &quot;NTP Server was changed on $Host&quot;
}</pre>


<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/' rel='bookmark' title='Permanent Link: Adding Virtual PortGroups to all ESX Hosts in a Cluster'>Adding Virtual PortGroups to all ESX Hosts in a Cluster</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/' rel='bookmark' title='Permanent Link: Adding a Virtual PortGroup to all Hosts'>Adding a Virtual PortGroup to all Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/05/28/using-vma-as-your-esxi-syslog-server/' rel='bookmark' title='Permanent Link: Using vMA As Your ESXi Syslog Server'>Using vMA As Your ESXi Syslog Server</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/06/03/vmware-esxi-4-log-files/' rel='bookmark' title='Permanent Link: VMware ESXi 4 Log Files'>VMware ESXi 4 Log Files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding Virtual PortGroups to all ESX Hosts in a Cluster</title>
		<link>http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:34:40 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[PowerShell Scripts]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=1353</guid>
		<description><![CDATA[Connect-VIServer -Server &#60;vCenter Server&#62;
$AllHosts = Get-Cluster &#60;Cluster Name&#62;
foreach ($ESXHost in ($AllHosts &#124; Get-VMHost))
{
 Get-VMHost $ESXHost &#124; Get-VirtualSwitch -Name &#60;vSwitch Number&#62; &#124; New-VirtualPortGroup -Name
&#60;Virtual PortGroup Name&#62; -VLanId &#60;VLan ID&#62;
}
Disconnect-VIServer -Confirm:$false



Related posts:Adding a Virtual PortGroup to all Hosts
PowerCLI: Reconfiguring NTP Servers on ESX Hosts
PowerCLI: A Simple VM Backup Script
Microsoft NLB Error when trying to Cluster Cloned VM’s


<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/' rel='bookmark' title='Permanent Link: Adding a Virtual PortGroup to all Hosts'>Adding a Virtual PortGroup to all Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/' rel='bookmark' title='Permanent Link: PowerCLI: Reconfiguring NTP Servers on ESX Hosts'>PowerCLI: Reconfiguring NTP Servers on ESX Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2008/12/12/microsoft-nlb-error-when-trying-to-cluster-cloned-vm%e2%80%99s/' rel='bookmark' title='Permanent Link: Microsoft NLB Error when trying to Cluster Cloned VM’s'>Microsoft NLB Error when trying to Cluster Cloned VM’s</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<pre><span style="color: #5F9EA0; font-weight: bold;">Connect-VIServer</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Server</span><span style="color: #000000;"> </span><span style="color: #800000;">&lt;vCenter Server&gt;</span><span style="color: #000000;">
<pre><span style="color: #800080;">$AllHosts</span><span style="color: #000000;"> </span><span style="color: #FF0000;">=</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-weight: bold;">Get-Cluster</span><span style="color: #000000;"> </span><span style="color: #800000;">&lt;Cluster Name&gt;</span><span style="color: #000000;">
</span><span style="color: #0000FF;">foreach</span><span style="color: #000000;"> (</span><span style="color: #800080;">$ESXHost</span><span style="color: #000000;"> </span><span style="color: #0000FF;">in</span><span style="color: #000000;"> (</span><span style="color: #800080;">$AllHosts</span><span style="color: #000000;"> | </span><span style="color: #5F9EA0; font-weight: bold;">Get-VMHost</span><span style="color: #000000;">))
{
 </span><span style="color: #5F9EA0; font-weight: bold;">Get-VMHost</span><span style="color: #000000;"> </span><span style="color: #800080;">$ESXHost</span><span style="color: #000000;"> | </span><span style="color: #5F9EA0; font-weight: bold;">Get-VirtualSwitch</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Name</span><span style="color: #000000;"> </span><span style="color: #800000;">&lt;vSwitch Number&gt;</span><span style="color: #000000;"> | </span><span style="color: #5F9EA0; font-weight: bold;">New-VirtualPortGroup</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Name</span><span style="color: #000000;">
&lt;Virtual PortGroup Name&gt;</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-VLanId</span><span style="color: #000000;"> </span><span style="color: #000000;">&lt;VLan ID&gt;</span><span style="color: #000000;">
}
</span><span style="color: #5F9EA0; font-weight: bold;">Disconnect-VIServer</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Confirm</span><span style="color: #000000;">:</span><span style="color: #800080;">$false</span></pre>
<p></span></pre>


<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/' rel='bookmark' title='Permanent Link: Adding a Virtual PortGroup to all Hosts'>Adding a Virtual PortGroup to all Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/' rel='bookmark' title='Permanent Link: PowerCLI: Reconfiguring NTP Servers on ESX Hosts'>PowerCLI: Reconfiguring NTP Servers on ESX Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2008/12/12/microsoft-nlb-error-when-trying-to-cluster-cloned-vm%e2%80%99s/' rel='bookmark' title='Permanent Link: Microsoft NLB Error when trying to Cluster Cloned VM’s'>Microsoft NLB Error when trying to Cluster Cloned VM’s</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Virtual PortGroup to all Hosts</title>
		<link>http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:31:55 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[PowerShell Scripts]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=1355</guid>
		<description><![CDATA[Connect-VIServer -Server &#60;vCenter Server&#62;
Get-VMHost &#124; Get-VirtualSwitch -Name &#60;vSwitch Number&#62; &#124; New-VirtualPortGroup -Name &#60;Virtual PortGroup
 Name&#62; -VLanId &#60;VLan ID&#62;
Disconnect-VIServer -Confirm:$false


Related posts:Adding Virtual PortGroups to all ESX Hosts in a Cluster
PowerCLI: Reconfiguring NTP Servers on ESX Hosts
PowerCLI: A Simple VM Backup Script


<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/' rel='bookmark' title='Permanent Link: Adding Virtual PortGroups to all ESX Hosts in a Cluster'>Adding Virtual PortGroups to all ESX Hosts in a Cluster</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/' rel='bookmark' title='Permanent Link: PowerCLI: Reconfiguring NTP Servers on ESX Hosts'>PowerCLI: Reconfiguring NTP Servers on ESX Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<pre><span style="color: #5F9EA0; font-weight: bold;">Connect-VIServer</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Server</span><span style="color: #000000;"> </span><span style="color: #800000;">&lt;vCenter Server&gt;</span><span style="color: #000000;">
</span><span style="color: #5F9EA0; font-weight: bold;">Get-VMHost</span><span style="color: #000000;"> | </span><span style="color: #5F9EA0; font-weight: bold;">Get-VirtualSwitch</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Name</span><span style="color: #000000;"> </span><span style="color: #800000;">&lt;vSwitch Number&gt;</span><span style="color: #000000;"> | </span><span style="color: #5F9EA0; font-weight: bold;">New-VirtualPortGroup</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Name</span><span style="color: #000000;"> &lt;Virtual PortGroup
 Name&gt;</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-VLanId</span><span style="color: #000000;"> </span><span style="color: #000000;">&lt;VLan ID&gt;</span><span style="color: #000000;">
</span><span style="color: #5F9EA0; font-weight: bold;">Disconnect-VIServer</span><span style="color: #000000;"> </span><span style="color: #5F9EA0; font-style: italic;">-Confirm</span><span style="color: #000000;">:</span><span style="color: #800080;">$false</span></pre>


<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2009/11/20/adding-virtual-portgroups-to-all-esx-hosts-in-a-cluster/' rel='bookmark' title='Permanent Link: Adding Virtual PortGroups to all ESX Hosts in a Cluster'>Adding Virtual PortGroups to all ESX Hosts in a Cluster</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/03/09/powercli-reconfiguring-ntp-servers-on-esx-hosts/' rel='bookmark' title='Permanent Link: PowerCLI: Reconfiguring NTP Servers on ESX Hosts'>PowerCLI: Reconfiguring NTP Servers on ESX Hosts</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.simonlong.co.uk/blog/2009/11/20/adding-a-virtual-portgroup-to-all-esx-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving Event Logs Using PoSH &#8211; My First Ever Script!</title>
		<link>http://www.simonlong.co.uk/blog/2009/06/08/saving-event-logs-using-posh-my-first-ever-script/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.simonlong.co.uk/blog/2009/06/08/saving-event-logs-using-posh-my-first-ever-script/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 15:12:46 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[PowerShell Scripts]]></category>
		<category><![CDATA[event logs]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=562</guid>
		<description><![CDATA[Finally after months and months of thinking about it,  I have finally been able to play with Powershell and make it do something useful.
My task was to save the Event Logs Errors off of all of our production servers on a daily basis. I was handed a piece of paper with a list of servers [...]

<p style="border-top:1px solid #000;"><b>Related posts:</b><ol><li><a href='http://www.simonlong.co.uk/blog/2010/05/05/powercli-a-simple-vm-backup-script/' rel='bookmark' title='Permanent Link: PowerCLI: A Simple VM Backup Script'>PowerCLI: A Simple VM Backup Script</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2009/11/18/realtime-view-of-esx-logs-in-the-service-console/' rel='bookmark' title='Permanent Link: Real-time view of ESX Logs in the Service Console'>Real-time view of ESX Logs in the Service Console</a></li>
<li><a href='http://www.simonlong.co.uk/blog/2009/04/14/vmware-esx-3-and-vcenter-2-logs/' rel='bookmark' title='Permanent Link: VMware ESX 3 and Virtual Center 2 Logs'>VMware ESX 3 and Virtual Center 2 Logs</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Finally after months and months of thinking about it,  I have finally been able to play with Powershell and make it do something useful.</p>
<p>My task was to save the Event Logs Errors off of all of our production servers on a daily basis. I was handed a piece of paper with a list of servers and told to get on with it. I could have easily done it manually, but I would have had to have changed my job title to &#8220;Event Log Saver Guy&#8221; as that would be all I would have time to do.</p>
<p><br/><a href="http://www.simonlong.co.uk/blog/2009/06/08/saving-event-logs-using-posh-my-first-ever-script/">Read the rest of this entry »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simonlong.co.uk/blog/2009/06/08/saving-event-logs-using-posh-my-first-ever-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>PowerShell Scripting, its about time i learnt</title>
		<link>http://www.simonlong.co.uk/blog/2009/03/09/powershell-scripting-its-about-time-i-learnt/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.simonlong.co.uk/blog/2009/03/09/powershell-scripting-its-about-time-i-learnt/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 05:59:34 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[PowerShell Scripts]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=163</guid>
		<description><![CDATA[
If i had a £1 for every time i heard/read about how good PowerShell is i probably wouldn&#8217;t have to write this post myself!
So I&#8217;ve decided to bite the bullet and I&#8217;m going to learn. I&#8217;m lucky enough to regularly chat to Alan Renouf from the Virtual-Al Blog, and he&#8217;s agreed to help me with [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://scriptlore.com/images/ne/powershell_logo.jpg" alt="" width="89" height="66" /></p>
<p>If i had a £1 for every time i heard/read about how good <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" target="_blank">PowerShell</a> is i probably wouldn&#8217;t have to write this post myself!</p>
<p>So I&#8217;ve decided to bite the bullet and I&#8217;m going to learn. I&#8217;m lucky enough to regularly chat to Alan Renouf from the <a href="http://www.virtu-al.net/" target="_blank">Virtual-Al Blog</a>, and he&#8217;s agreed to help me with my journey from a complete Novice to a &#8220;PowerShell Guru&#8221; like himself.</p>
<p><strong>Update</strong>: Alan has just pointed me to this excerlent <a href="http://blogs.vmware.com/files/vi-toolkit-lab----vmworld-europe-2009.pdf" target="_blank">VI-Toolkit Labs</a> document which has been release from VMWorld Europe 2009.</p>
<p>Personally I think the best way to learn PowerShell is to start off by being given a set of basic tasks that needs to be done and then working out how to use PowerShell to run this task for me.</p>
<p>This part of my Blog will be mostly for my own benefit, but I&#8217;m pretty sure that the scripts i come up with could come in handy to other users. The posts i make on PowerShell will not appear on this blogs front page or in my RSS feeds but they will be Tweeted on Twitter, so if you don&#8217;t <a href="http://twitter.com/simonlong_" target="_blank">follow me</a> already and your interested in what I&#8217;m writing add me now.</p>
<p><strong>Update</strong>: Tom Howarth from <a href="http://www.planetvm.net/" target="_blank">PlanetVM</a> has just told me that he too has decided to learn PowerShell, hes also using the VI-Toolkit Labs document from VMWorld Europe 2009.</p>
<p><strong>PowerShell Scripting Resources</strong></p>
<p>Here is a list of PowerShell Scripting Resources that i&#8217;m using. I will continue update it:</p>
<ul>
<li><a href="http://blogs.vmware.com/files/vi-toolkit-lab----vmworld-europe-2009.pdf" target="_blank">VI-Toolkit Labs from VMworld Europe 2009</a></li>
<li><a href="http://get-scripting.blogspot.com/" target="_blank">The Getscripting Podcast</a> &#8211; Hosted by Johnathan Med and Alan Renouf<a href="http://get-scripting.blogspot.com/" target="_blank"><br />
</a></li>
<li><a href="http://www.virtu-al.net/2009/02/23/vi-toolkit-quick-reference-guide/" target="_blank">The VI-Toolkit Quick Reference Guide</a> &#8211; Created by Alan Renouf</li>
<li><a href="http://www.johndcook.com/powershellbooklet.html" target="_blank">Poweshell Day 1</a> &#8211; Created by John D. Cook</li>
<li><a href="http://vinternals.com/powercli-mastery/" target="_blank">PowerCLI Mastery</a> &#8211; vInternals</li>
<li><a href="http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/index.html" target="_blank">VMware VI API Reference</a></li>
</ul>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.simonlong.co.uk/blog/2009/03/09/powershell-scripting-its-about-time-i-learnt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
