<?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>Jonathan Medd&#039;s Blog</title>
	<atom:link href="http://www.jonathanmedd.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jonathanmedd.net</link>
	<description>Scripting. Powershell, VMware, Windows, Active Directory &#38; Exchange. All that kind of stuff.....</description>
	<lastBuildDate>Wed, 01 Feb 2012 13:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Your Local Technical User Group Needs You</title>
		<link>http://www.jonathanmedd.net/2012/02/your-local-technical-user-group-needs-you.html</link>
		<comments>http://www.jonathanmedd.net/2012/02/your-local-technical-user-group-needs-you.html#comments</comments>
		<pubDate>Wed, 01 Feb 2012 13:58:36 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[user group]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2147</guid>
		<description><![CDATA[I started attending technical user groups around about four years ago, intially with the UK PowerShell User Group and swiftly after the London VMware User Group. These are the main two groups I have stuck with in that time, but have also sampled others such as Windows Server, AD and Exchange user group events among [...]]]></description>
			<content:encoded><![CDATA[<p>I started attending technical user groups around about four years ago, intially with the UK PowerShell User Group and swiftly after the London VMware User Group. These are the main two groups I have stuck with in that time, but have also sampled others such as Windows Server, AD and Exchange user group events among others. The amount of real world experience I have picked up, great discussions had and excellent contacts made, has made them an invaluable resource for improving yourself and your career. The first time I attended one I was half-expecting a group of bearded middle-aged blokes sat around a table talking about things I had no idea about. As it turned out only Richard Siddaway had the beard (sorry Richard!) and had in fact managed to arrange for the inventor of PowerShell Jeffrey Snover to present via an online meeting. (I still had no idea what they were talking about, but I was still blown away at the level of technical content and figured I would understand it at some point if I kept going along!) The reason for this post is to encourage you to not only attend a user group yourself, but to present at one!</p>
<p>Typically a user group may have a vendor sponsor (which helps to pay for the cost of running the event) with some of their own content, however the main focus is on what real people have been doing in real situations in their daily jobs. This is the best content because you tend to find out, warts and all, what are the good and bad parts of a particular product, product area, design decisions, deployment type etc..  . The point being you are not listening to a vendor saying that Product X is better than Product Y and will solve all your problems, but stories you can trust.</p>
<p>At the last London VMUG some prizes were given out for the best community presentations at the four London VMUG events during 2011, Simon Gallagher who helps to run the VMUG <a href="http://vinf.net/2012/01/30/lonvmug-best-community-presentation-of-2011-awards/">posted up the results yesterday</a> . I was fortunate enough to get second place which should be a great encouragement to any of you out there thinking that you couldn&#8217;t do this yourself. I&#8217;m by no-means a natural presenter (which if any of you saw my early efforts at user groups will certainly agree with), but have worked very hard at improving and also spending a lot of time watching other people&#8217;s presentations at these events and picking up good points about their own style that I might use (Julian Wood&#8217;s scheduled tweet linking to a scheduled blog post with his presentation, to coincide with the end of his session is probably the coolest one yet!). Seriously, I&#8217;m your typical system administrator, not naturally better at presenting than anyone else in a similar job role, but it is possible with some effort to make yourself reasonably good at it.</p>
<p>User groups are always looking for new presenters and are better for the wider variety of speakers they can get. In <a href="http://vinf.net/2012/01/30/lonvmug-best-community-presentation-of-2011-awards/">Simon&#8217;s post</a> there is a request for new speakers at the VMUG in 2012 so if you have a decent work story to tell or are particularly passionate about a certain product I encourage you to offer to present. I guarantee that:</p>
<ul>
<li>You will inevitably get to know the topic better (you need to, to be able have the confidence to stand up in front of a group of people and expect they may ask you questions about it)</li>
<li>Improve your presenting / communication skills. It&#8217;s amazing how this will translate to other areas too. For example, if you can present a topic in front of 40 or 50 people, it&#8217;s not surprising that showing up for a job interview with 1 or 2 people how you naturally appear pretty confident and it may seem a whole lot easier than it used to.</li>
<li>Increase your own self-confidence. It still can be a bit nerve wracking presenting in front of a group of peers, but audiences at VMUGs are typically pretty friendly and once it&#8217;s over you realise it was nowhere near as daunting as you thought it might be. People will also give you a nice round of applause at the end, even if you think you didn&#8217;t do that great, because inside they may well be thinking &#8220;I&#8217;m glad it&#8217;s not me doing that!&#8221;</li>
<li>On purpose or accidently you may be seen as something of an expert on a topic which can lead to all kinds of opportunities!</li>
</ul>
<p>So I hope to see some new people volunteering for this either at the London VMUG or your own local user group of choice. Personally I&#8217;m keen to check out some new user group type events such as the <a href="http://cloudcamp.org/london">London Cloud Camp</a>, which describes itself as an unconference and typically has very short talks (5 mins). I&#8217;ve heard really good things about this so intend to try and make it next time.</p>
<p>One word of warning, if Alaric Davies ever calls you the week before the London VMUG then only answer the phone if you are prepared to be presenting at it&#8230;&#8230;. <img src='http://www.jonathanmedd.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2012/02/your-local-technical-user-group-needs-you.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VCP5 Study Resources</title>
		<link>http://www.jonathanmedd.net/2012/01/vcp5-study-resources.html</link>
		<comments>http://www.jonathanmedd.net/2012/01/vcp5-study-resources.html#comments</comments>
		<pubDate>Mon, 30 Jan 2012 14:03:44 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[vmware]]></category>
		<category><![CDATA[vSphere 5]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2133</guid>
		<description><![CDATA[Having passed the VCP5 exam last week, I thought I would write the obligatory study resources blog post. So below are the resources I found most useful in preparing for the exam: 1) TrainSignal VMware vSphere 5 Training I&#8217;ve previously used the TrainSignal VMware vSphere 4 VCAP Training Package to begin preparations for the VCAP-DCA [...]]]></description>
			<content:encoded><![CDATA[<p>Having passed the VCP5 exam last week, I thought I would write the obligatory study resources blog post. So below are the resources I found most useful in preparing for the exam:</p>
<p><strong>1) TrainSignal VMware vSphere 5 Training</strong></p>
<p style="text-align: center;"><a href="http://www.trainsignal.com/VMware-vSphere-5-Training.aspx?utm_source=Site%20Promo&amp;utm_medium=Homepage%20Banner&amp;utm_campaign=vSphere%205%20Training"><img class="aligncenter size-full wp-image-2137" title="TrainSignalVCP5" src="http://www.jonathanmedd.net/wp-content/uploads/2012/01/TrainSignalVCP5.png" alt="" width="626" height="426" /></a></p>
<p>I&#8217;ve previously used the <a href="http://www.jonathanmedd.net/2011/12/trainsignal-vmware-vsphere-4-vcap-training-package-review.html">TrainSignal VMware vSphere 4 VCAP Training Package</a> to begin preparations for the VCAP-DCA exam so was well accustomed with the style of the TrainSignal videos. Since I was in the position of needing to upgrade my VCP from 4 to 5 before February 29th 2012 to avoid needing to fulfill a class requirement again, I found this to be a great resource to quickly get up to speed on some of the new features in vSphere 5 and also provide a refresher for some of the topics that have been in the exam since the VCP 3 days. The topics covered are listed below; the great thing about the modular style nature of these videos is that you can easily focus in on particular topics of interest and skip over others if you want to. I was tempted to skip a few of the chapters I thought I knew everything about, however I stuck with them and not only had a good refresher of those topics, but also picked up a few things I didn&#8217;t know.</p>
<p>Lesson 1 &#8211; Getting Started with VMware vSphere 5 Training Course<br />
Lesson 2 &#8211; Lab Setup<br />
Lesson 3 &#8211; Course Scenario<br />
Lesson 4 &#8211; Overview of VMware vSphere 5<br />
Lesson 5 &#8211; Installing VMware ESXi 5<br />
Lesson 6 &#8211; Installing vCenter 5<br />
Lesson 7 &#8211; Installing vCenter 5 as a Linux Appliance (vCSA)<br />
Lesson 8 &#8211; Using the vSphere 5 Web Client<br />
Lesson 9 &#8211; What’s New in vSphere 5<br />
Lesson 10 &#8211; Navigating vSphere Using the vSphere Client<br />
Lesson 11 &#8211; vCenter 5 – Configuring Your New Virtual Infrastructure<br />
Lesson 12 &#8211; Creating and Modifying Virtual Guest Machines<br />
Lesson 13 &#8211; Installing and Configuring VMware Tools<br />
Lesson 14 &#8211; Understanding and Using Tasks, Events, and Alarms<br />
Lesson 15 &#8211; Virtual Storage 101 and Storage Terminology<br />
Lesson 16 &#8211; vSphere Storage Appliance (VSA)<br />
Lesson 17 &#8211; Creating a Free iSCSI SAN with OpenFiler<br />
Lesson 18 &#8211; Administering VMware ESXi Server Security<br />
Lesson 19 &#8211; vSphere Virtual Networking<br />
Lesson 20 &#8211; Using the vSphere Distributed Virtual Switch (dvswitch)<br />
Lesson 21 &#8211; Moving Virtual Machines with vMotion<br />
Lesson 22 &#8211; Moving Virtual Storage with svMotion<br />
Lesson 23 &#8211; Performance Optimization with Distributed Resource Scheduler (DRS)<br />
Lesson 24 &#8211; Implementing High Availability with VMware HA (VMHA)<br />
Lesson 25 &#8211; Super High Availability with VMware Fault Tolerance (FT)<br />
Lesson 26 &#8211; Upgrading from VMware vSphere 4 to vSphere 5<br />
Lesson 27 &#8211; vSphere Command Line Interface (CLI) Options<br />
Lesson 28 &#8211; vSphere Auto Deploy<br />
Lesson 29 &#8211; Storage DRS<br />
Lesson 30 &#8211; Policy-driven Storage<br />
Lesson 31 &#8211; Understanding the New vSphere 5 vRAM Pooled Pricing<br />
Lesson 32 &#8211; Network I/O Control (NIOC)<br />
Lesson 33 &#8211; Storage I/O Control (SIOC)<br />
Lesson 34 &#8211; ESXi Firewall<br />
Lesson 35 &#8211; VMware Data Recovery (VDR) 2<br />
Lesson 36 &#8211; Administering vSphere Using an iPad</p>
<p>Both <a href="http://twitter.com/davidmdavis">David Davis</a> and <a href="http://twitter.com/ekhnaser">Elias Khnaser</a> have excellent presenting styles, in their clear explanations and enthusiasm for the topic &#8211; which I am particularly grateful for having watched most of them on the early commute into work. While not directly aimed at the VCP exam, the videos provide a good breadth of coverage of most of the exam topics. As with the other series they are available online streamed from the website as soon as you make the purchase, but also shipped to you on a DVD in formats suitable for PC, iPhone iPad etc.</p>
<p><strong>2) VCP5 Exam Blueprint</strong></p>
<p>Reading the <a href="http://mylearn.vmware.com/mgrReg/plan.cfm?plan=12457&amp;ui=www_cert">VCP5 Exam Blueprint</a> document is essential to ensure that you have covered all of the bases. I worked through the document and ticked off each objective as I went. Most of my work is with the larger Enterprise deployments of vSphere, so this is a good way to ensure that you have not missed anything that might be more commonly used in say SMB deployments.</p>
<p>&nbsp;</p>
<p><strong>3) VCP5 Exam Blueprint Study Guide PDF</strong></p>
<p>While working through the official blueprint document I discovered this <a href="http://www.valcolabs.com/vmware-certified-professional-5/">Study Guide PDF</a> which <a href="http://twitter.com/jaslanger">Jason Langer</a> and <a href="http://twitter.com/joshcoen">Josh Coen</a> have put together. They have put a lot of work into this document which typically contains a paragraph or two on each objective with highlight points and links to pages in vSphere documentation pdfs for further research. Given the limited time I had to prepare for the exam, this was great for quickly covering all of the objectives and I really appreciated the effort they had made in putting it together.</p>
<p><strong>4) VCP 5 Brownbags</strong></p>
<p>The<a href="http://professionalvmware.com"> Professional Vmware</a> site is well known for running 1 hour brownbag sessions for VMware topics, including the VCAP exams. Recently they have started them for <a href="http://professionalvmware.com/brownbags/">VCP5</a> too and although currently there are only a few, they are well worth checking out.</p>
<p><strong>5)  vSphere 5.o Clustering DeepDive</strong></p>
<p>I bought this <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=B005C1SARM&amp;adid=16Q69JRGDTX1DHPRKTQM&amp;">book</a> by <a href="http://www.twitter.com/frankdenneman">Frank Denneman</a> and <a href="http://www.twitter.com/DuncanYB">Duncan Epping</a> when it came out last year because I wanted know about new vSphere 5 features, however it is also worth reading as preparation for this exam. While the book goes into far more technical depth than required for the VCP, it was still useful for an early appreciation of these topics.</p>
<p><strong>6) Practice Questions </strong></p>
<p>It&#8217;s good to at least get a feel of the kind of questions you will be asked in the exam. Both the VMware VCP site with a <a href="http://mylearn.vmware.com/mgrReg/plan.cfm?plan=12457&#038;ui=www_cert">mock exam</a> and Simon Long&#8217;s <a href="http://www.simonlong.co.uk/blog/vcp5-practice-exams/">blog</a> are a great resource for this.</p>
<p><strong>7) Hands-on experience with real world vSphere experience</strong></p>
<p>Most important of all was hands-on experience of vSphere. There were many questions I knew the answer to that were not through the result of self-study, but either I had configured them at work or experienced the issue and had resolved it. You can emulate a fair amount of this if you have access to say a home-lab, but you can&#8217;t beat experience and unfortunately there is only one way to get that.</p>
<p>I was pleased to see that the exam was heading more in this direction. When I took the VCP 3.5 in 2008 the Minimum and Maximums document was a core part of my study process, in fact I took the exam while my family were away for a few days, so my house resembled something out of Prison Break with different pages of the Min / Max guide on the walls! I didn&#8217;t do that this time and while a good knowledge of the fundamental minimum and maximums is still required on the blueprint, the days of having to memorise every single one in the guide just to pass the exam appear to be over which is a good thing.</p>
<p><a href="http://www.jonathanmedd.net/wp-content/uploads/2012/01/PrisonBreak.jpg"><img class="aligncenter size-full wp-image-2134" title="PrisonBreak" src="http://www.jonathanmedd.net/wp-content/uploads/2012/01/PrisonBreak.jpg" alt="" width="653" height="435" /></a></p>
<p>sdfsd</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2012/01/vcp5-study-resources.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic VMware Cluster Capacity Check with PowerCLI</title>
		<link>http://www.jonathanmedd.net/2012/01/basic-cluster-vmware-capacity-check-with-powercli.html</link>
		<comments>http://www.jonathanmedd.net/2012/01/basic-cluster-vmware-capacity-check-with-powercli.html#comments</comments>
		<pubDate>Wed, 18 Jan 2012 17:09:39 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[powercli]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2118</guid>
		<description><![CDATA[I recently needed to provide a high level capacity overview per VMware cluster looking at some metrics of interest that were being used as a guide to the capacity state of a cluster. Note: these are by no means definitive or the ones you should be using in your environment, but for these purposes they [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to provide a high level capacity overview per VMware cluster looking at some metrics of interest that were being used as a guide to the capacity state of a cluster. Note: these are by no means definitive or the ones you should be using in your environment, but for these purposes they met the requirements. The metrics I looked at per cluster were the ratio of vCPUs to pCPUs, the amount of Effective, Allocated and average Active Memory and the amount of Free Diskspace.</p>
<p>A couple of things to note:</p>
<p>1.The section below on datastore freespace filters out the local datastore which contains the name of the host.</p>
<pre class="brush: powershell;">

$VMHost = $Cluster | Get-VMHost | Select-Object -Last 1
$HostName = ($VMHost.name -split &quot;.&quot;, 0, &quot;simplematch&quot;)[0]
$ClusterFreeDiskspaceGB = ($VMHost | Get-Datastore | Where-Object {$_.Name -notmatch $HostName} | Measure-Object -Property FreeSpaceGB -Sum).Sum
</pre>
<p>2. I&#8217;ve recently changed the way I create custom objects to output reports with. For a long time I have used the <a href="http://www.jonathanmedd.net/2009/02/the-noble-array.html">cheat way of Select-Object</a> , partly because of performance and partly because you can&#8217;t control the order of properties in New-Object. These are being addressed in PowerShell v3 (see <a href="http://www.jonathanmedd.net/2011/09/powershell-v3-creating-objects-with-pscustomobject-its-fast.html">here</a> and <a href="http://www.jonathanmedd.net/2011/09/powershell-v3-bringing-ordered-to-your-hashtables.html">here</a>) so I thought it was about time to make the switch. This means for the time being that when working with the output you need to pipe it to Select-Object to control the order of the output, e.g.</p>
<p><strong>Get-Cluster | Get-ClusterCapacityCheck | Select-Object Cluster,ClusterCPUCores,ClusterAllocatedvCPUs,ClustervCPUpCPURatio,ClusterEffectiveMemoryGB,</strong></p>
<p><strong>ClusterAllocatedMemoryGB,ClusterActiveMemoryPercentage,ClusterFreeDiskspaceGB</strong></p>
<p style="text-align: center;"><a href="http://www.jonathanmedd.net/wp-content/uploads/2012/01/Get-ClusterCapacityCheck.png"><img class="aligncenter size-full wp-image-2130" title="Get-ClusterCapacityCheck" src="http://www.jonathanmedd.net/wp-content/uploads/2012/01/Get-ClusterCapacityCheck.png" alt="" width="697" height="246" /></a></p>
<pre class="brush: powershell;">

function Get-ClusterCapacityCheck {
&lt;#
.SYNOPSIS
Retrieves basic capacity info for VMware clusters

.DESCRIPTION
Retrieves basic capacity info for VMware clusters

.PARAMETER  ClusterName
Name of the computer to test the services for

.EXAMPLE
PS C:\&gt; Get-ClusterCapacityCheck -ClusterName Cluster01

.EXAMPLE
PS C:\&gt; Get-Cluster | Get-ClusterCapacityCheck

.NOTES
Author: Jonathan Medd
Date: 18/01/2012
#&gt;

[CmdletBinding()]
param(
[Parameter(Position=0,Mandatory=$true,HelpMessage=&quot;Name of the cluster to test&quot;,
ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$true)]
[System.String]
$ClusterName
)

begin {
$Finish = (Get-Date -Hour 0 -Minute 0 -Second 0)
$Start = $Finish.AddDays(-1).AddSeconds(1)

New-VIProperty -Name FreeSpaceGB -ObjectType Datastore -Value {
param($ds)
[Math]::Round($ds.FreeSpaceMb/1KB,0)
} -Force

}

process {

$Cluster = Get-Cluster $ClusterName

$ClusterCPUCores = $Cluster.ExtensionData.Summary.NumCpuCores
$ClusterEffectiveMemoryGB = [math]::round(($Cluster.ExtensionData.Summary.EffectiveMemory / 1KB),0)

$ClusterVMs = $Cluster | Get-VM

$ClusterAllocatedvCPUs = ($ClusterVMs | Measure-Object -Property NumCPu -Sum).Sum
$ClusterAllocatedMemoryGB = [math]::round(($ClusterVMs | Measure-Object -Property MemoryMB -Sum).Sum / 1KB)

$ClustervCPUpCPURatio = [math]::round($ClusterAllocatedvCPUs / $ClusterCPUCores,2)
$ClusterActiveMemoryPercentage = [math]::round(($Cluster | Get-Stat -Stat mem.usage.average -Start $Start -Finish $Finish | Measure-Object -Property Value -Average).Average,0)

$VMHost = $Cluster | Get-VMHost | Select-Object -Last 1
$ClusterFreeDiskspaceGB = ($VMHost | Get-Datastore | Where-Object {$_.Extensiondata.Summary.MultipleHostAccess -eq $True} | Measure-Object -Property FreeSpaceGB -Sum).Sum

New-Object -TypeName PSObject -Property @{
Cluster = $Cluster.Name
ClusterCPUCores = $ClusterCPUCores
ClusterAllocatedvCPUs = $ClusterAllocatedvCPUs
ClustervCPUpCPURatio = $ClustervCPUpCPURatio
ClusterEffectiveMemoryGB = $ClusterEffectiveMemoryGB
ClusterAllocatedMemoryGB = $ClusterAllocatedMemoryGB
ClusterActiveMemoryPercentage = $ClusterActiveMemoryPercentage
ClusterFreeDiskspaceGB = $ClusterFreeDiskspaceGB
}
}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2012/01/basic-cluster-vmware-capacity-check-with-powercli.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using PowerShell To Check That Windows Server Services Set To Automatic Have Started</title>
		<link>http://www.jonathanmedd.net/2012/01/using-powershell-to-check-that-windows-server-services-set-to-automatic-have-started.html</link>
		<comments>http://www.jonathanmedd.net/2012/01/using-powershell-to-check-that-windows-server-services-set-to-automatic-have-started.html#comments</comments>
		<pubDate>Wed, 11 Jan 2012 16:18:44 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[wmi]]></category>
		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2111</guid>
		<description><![CDATA[Following on from the blog post Testing TCP Port Response from PowerShell  which provided a means to check that servers had fully rebooted after a patching and reboot cycle, I needed to take this one step further and check that all of the Windows Services set to Automatic successfully started after the reboot. This should [...]]]></description>
			<content:encoded><![CDATA[<p>Following on from the blog post <a href="http://www.jonathanmedd.net/2011/12/testing-tcp-port-response-from-powershell.html">Testing TCP Port Response from PowerShell</a>  which provided a means to check that servers had fully rebooted after a patching and reboot cycle, I needed to take this one step further and check that all of the Windows Services set to Automatic successfully started after the reboot.</p>
<p>This should be pretty straightforward since we have a <strong>Get-Service</strong> cmdlet. Unfortunately however, this cmdlet does not return a StartMode parameter, i.e. it&#8217;s not possible to tell whether the Startup Type has been set to Automatic, Manual or Disabled. This is quite a large gap in my opinon &#8211; if you agree with me you can vote to get it included in a future release <a href=" http://connect.microsoft.com/PowerShell/feedback/details/416680/get-service-needs-to-add-a-startuptype-noteproperty-to-its-output">here</a>. Of course with PowerShell there&#8217;s usually another way to achieve the same objective and using <strong>Get-WMIObject</strong> it is possible to find out the Startup Type of the service.</p>
<pre class="brush: powershell;">

Get-WmiObject Win32_Service -ComputerName $ComputerName -Filter &quot;StartMode='Auto' AND State='Stopped' AND Name!='SysmonLog'&quot;
</pre>
<p>Notice that we filter out the Perfmon service (SysmonLog) since it is rarely in a started state.</p>
<p>One other thing to watch out for in this script is that the section</p>
<pre class="brush: powershell;">

catch [System.Exception]
</pre>
<p>which is there to catch any WMI queries that fail, e.g. the server hasn&#8217;t rebooted properly or the correct permissions do not exist to make the WMI query, will not pick up any of these failures. This is because try / catch will only catch terminating errors and the WMI failures are non terminating. We can work around this by setting:</p>
<pre class="brush: powershell;">

$ErrorActionPreference = &quot;Stop&quot;
</pre>
<p>and then back to normal afterwards:</p>
<pre class="brush: powershell;">

$ErrorActionPreference = &quot;Continue&quot;
</pre>
<p>The script accepts pipeline input, so for example you could run it like:</p>
<pre class="brush: powershell;">

Get-Content servers.txt | ./Get-AutomaticServiceState.ps1
</pre>
<p>Here it is:</p>
<pre class="brush: powershell;">

&lt;#
.SYNOPSIS
Retrieves any Windows services set to Automatic and are not running

.DESCRIPTION
Retrieves any Windows services set to Automatic and are not running

.PARAMETER  ComputerName
Name of the computer to test the services for

.EXAMPLE
PS C:\&gt; Get-AutomaticServiceState -ComputerName Server01

.EXAMPLE
PS C:\&gt; Get-Content servers.txt | Get-AutomaticServiceState

.NOTES
Author: Jonathan Medd
Date: 11/01/2012
#&gt;

[CmdletBinding()]
param(
[Parameter(Position=0,Mandatory=$true,HelpMessage=&quot;Name of the computer to test&quot;,
ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$true)]
[Alias('CN','__SERVER','IPAddress','Server')]
[System.String]
$ComputerName
)

process {

try {

# Set ErrorActionPreference to Stop in order to catch non-terminating WMI errors
$ErrorActionPreference = &quot;Stop&quot;

# Query the server via WMI and exclude the Performance Logs and Alerts Service
$WMI = Get-WmiObject Win32_Service -ComputerName $ComputerName -Filter &quot;StartMode='Auto' AND State='Stopped' AND Name!='SysmonLog'&quot;

}

catch [System.Exception]

{
$WMI = “” | Select-Object SystemName,Displayname,StartMode,State
$WMI.SystemName = $ComputerName
$WMI.Displayname = &quot;Unable to connect to server&quot;
$WMI.StartMode = &quot;&quot;
$WMI.State = &quot;&quot;
}

finally {

$ErrorActionPreference = &quot;Continue&quot;

}

if ($WMI){

foreach ($WMIResult in $WMI){

$MYObject = “” | Select-Object ComputerName,ServiceName,StartupMode,State
$MYObject.ComputerName = $WMIResult.SystemName
$MYObject.ServiceName = $WMIResult.Displayname
$MYObject.StartupMode = $WMIResult.StartMode
$MYObject.State = $WMIResult.State
$MYObject
}
}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2012/01/using-powershell-to-check-that-windows-server-services-set-to-automatic-have-started.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Obtaining Symantec Endpoint Protection Version Info with PowerShell</title>
		<link>http://www.jonathanmedd.net/2011/12/obtaining-symantec-endpoint-protection-version-info-with-powershell.html</link>
		<comments>http://www.jonathanmedd.net/2011/12/obtaining-symantec-endpoint-protection-version-info-with-powershell.html#comments</comments>
		<pubDate>Fri, 23 Dec 2011 12:23:45 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2090</guid>
		<description><![CDATA[Right, let&#8217;s set this one out. I do not, have not ever, nor probably will ever will like any AV Enterprise Management Products. However, sometimes you have to work with them and frequently the data in the Management Product does not actually reflect the end user / server estate. The below function will query the [...]]]></description>
			<content:encoded><![CDATA[<p>Right, let&#8217;s set this one out. I do not, have not ever, nor probably will ever will like any AV Enterprise Management Products. However, sometimes you have to work with them and frequently the data in the Management Product does not actually reflect the end user / server estate. The below function will query the registry of a remote machine(s) and report back the state of the installed Symantec SEP client to help perform a true up.</p>
<p>The<strong> PatternFileDate</strong> value stored in <strong>HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV</strong> needs a little figuring out, <a href="http://www.symantec.com/connect/forums/how-check-signature-version-remotely-without-using-symantec-console">this postin</a>g helps figure it out.</p>
<p><em>You can get the Info from this Registry Location</em></p>
<p><em>HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV</em></p>
<p><em>On this Key you can find two Values  </em><br />
<em> PatternFileDate  : Current Definition date</em><br />
<em> PatternFileRevision : Revision</em></p>
<p><em>These are Hexadecimal values</em></p>
<p><em>Example:</em><br />
<em> PatternFileDate  : <strong>27090e &#8211; 2009 Oct 14</strong> </em><br />
<em> 27090e &#8211; YYMMDD Format</em><br />
<em> 27 &#8211; 2009</em><br />
<em> 27 Hex is 39 Decimal, this value is since 1970. So 1970+39 = 2009</em></p>
<p><em><strong>09</strong> is <strong>October </strong>(<strong>00</strong>- Jan, <strong>0B</strong> &#8211; Dec)</em><br />
<em> <strong>0e Hex</strong> - <strong>14</strong> in decimal</em></p>
<p><em>PatternFileRevision : <strong>16Hex &#8211; 22</strong></em></p>
<p><em>16 HEX is 22 in Decimal</em></p>
<p>&nbsp;</p>
<pre class="brush: powershell;">

function Get-SEPVersion {
&lt;#
.SYNOPSIS
Retrieve Symantec Endpoint Version, Definition Date and Sylink Group

.DESCRIPTION
Retrieve Symantec Endpoint Version, Definition Date and Sylink Group

.PARAMETER  ComputerName
Name of the computer to query SEP info for

.EXAMPLE
PS C:\&gt; Get-SEPVersion -ComputerName Server01

.EXAMPLE
PS C:\&gt; $servers | Get-SEPVersion

.NOTES
Author: Jonathan Medd
Date: 23/12/2011
#&gt;

[CmdletBinding()]
param(
[Parameter(Position=0,Mandatory=$true,HelpMessage=&quot;Name of the computer to query SEP for&quot;,
ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
[Alias('CN','__SERVER','IPAddress','Server')]
[System.String]
$ComputerName
)

begin {
# Create object to enable access to the months of the year
$DateTimeFormat = New-Object System.Globalization.DateTimeFormatInfo

# Set Registry keys to query
$SMCKey = &quot;SOFTWARE\\Symantec\\Symantec Endpoint Protection\\SMC&quot;
$AVKey = &quot;SOFTWARE\\Symantec\\Symantec Endpoint Protection\\AV&quot;
$SylinkKey = &quot;SOFTWARE\\Symantec\\Symantec Endpoint Protection\\SMC\\SYLINK\\SyLink&quot;
}

process {

try {

# Connect to Registry
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey(&quot;LocalMachine&quot;,$ComputerName)

# Obtain Product Version value
$SMCRegKey = $reg.opensubkey($SMCKey)
$SEPVersion = $SMCRegKey.GetValue('ProductVersion')

# Obtain Pattern File Date Value
$AVRegKey = $reg.opensubkey($AVKey)
$AVPatternFileDate = $AVRegKey.GetValue('PatternFileDate')

# Convert PatternFileDate to readable date
$AVYearFileDate = [string]($AVPatternFileDate[0] + 1970)
$AVMonthFileDate = $DateTimeFormat.MonthNames[$AVPatternFileDate[1]]
$AVDayFileDate = [string]$AVPatternFileDate[2]
$AVFileVersionDate = $AVDayFileDate + &quot; &quot; + $AVMonthFileDate + &quot; &quot; + $AVYearFileDate

# Obtain Sylink Group value
$SylinkRegKey = $reg.opensubkey($SylinkKey)
$SylinkGroup = $SylinkRegKey.GetValue('CurrentGroup')

}

catch [System.Management.Automation.MethodInvocationException]

{
$SEPVersion = &quot;Unable to connect to computer&quot;
$AVFileVersionDate = &quot;&quot;
$SylinkGroup = &quot;&quot;
}

$MYObject = “” | Select-Object ComputerName,SEPProductVersion,SEPDefinitionDate,SylinkGroup
$MYObject.ComputerName = $ComputerName
$MYObject.SEPProductVersion = $SEPVersion
$MYObject.SEPDefinitionDate = $AVFileVersionDate
$MYObject.SylinkGroup = $SylinkGroup
$MYObject

}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2011/12/obtaining-symantec-endpoint-protection-version-info-with-powershell.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring HP EVA Recommended Settings for ESXi via PowerCLI</title>
		<link>http://www.jonathanmedd.net/2011/12/configuring-hp-eva-recommended-settings-for-esxi-via-powercli.html</link>
		<comments>http://www.jonathanmedd.net/2011/12/configuring-hp-eva-recommended-settings-for-esxi-via-powercli.html#comments</comments>
		<pubDate>Wed, 21 Dec 2011 16:56:21 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[esxi]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2102</guid>
		<description><![CDATA[The HP Enterprise Virtual Array Family with VMware vSphere 4.0 , 4.1 AND 5.0 Configuration Best Practises Guide, available here, contains many recommendations for ESXi configuration. There are a number of recommended settings in this document to enhance the storage performance, a subset of which I have picked as appropriate for the environment and then [...]]]></description>
			<content:encoded><![CDATA[<p>The HP Enterprise Virtual Array Family with VMware vSphere 4.0 , 4.1 AND 5.0 Configuration Best Practises Guide, available <a href="http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA1-2185ENW.pdf">here</a>, contains many recommendations for ESXi configuration. There are a number of recommended settings in this document to enhance the storage performance, a subset of which I have picked as appropriate for the environment and then needed to configure them on all ESXi hosts.</p>
<p>They can be implemented via PowerCLI and the below script demonstrates how these different types of settings can be configured. The most interesting one for me was setting the default Path Selection Policy to VMW_PSP_RR. The guide recommends you use the following command from the ESXi console:</p>
<p><strong>esxcli nmp satp setdefaultpsp -satp VMW_SATP_ALUA -psp VMW_PSP_RR</strong></p>
<p>With the introduction of the <strong>Get-ESXCLI</strong> cmdlet we can now carry out the equivalent from PowerCLI. <strong>Get-EsxCLI</strong> requires a direct connection to the ESXi host rather than from vCenter, so all the settings in this script are configured via a direct connection to the ESXi host</p>
<p><strong>Warning: Before carrying out any of these types of changes make sure you talk to your Storage Adminstrator to confirm what is appropriate for your own environment. Other array vendors offer different recommendations so be sure to check their documentation for similar settings.</strong></p>
<pre class="brush: powershell;">

&lt;#
.SYNOPSIS
Implement HP Recommended Settings for EVA SAN

.DESCRIPTION
Implement HP Recommended Settings for EVA SAN

.PARAMETER  HostName
Name of the ESXi host to configure the settings on

.EXAMPLE
PS C:\&gt; ./Set-HPEVAESXiConfig.ps1 -Hostname ESX01

.EXAMPLE
PS C:\&gt; Get-Content ESXServers.txt | ./Set-HPEVAESXiConfig.ps1

.NOTES
Author: Jonathan Medd
Date: 21/12/2011
#&gt;

[CmdletBinding()]
param(
[Parameter(Position=0,Mandatory=$true,HelpMessage=&quot;Name of the ESXi host to configure the settings on&quot;,
ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
[Alias('IPAddress','Server','ComputerName')]
[System.String]
$HostName
)

begin {

Write-Host &quot;Please enter credentials to connect to the ESXi hosts&quot; -ForegroundColor:Yellow
$Credential = Get-Credential
$UserName = $Credential.GetNetworkCredential().UserName
$Password = $Credential.GetNetworkCredential().Password
}

process {

Connect-VIServer $Hostname -User $Username -Password $Password | Out-Null

Write-Host &quot;Setting Disk.DiskMaxIOSize Advanced Option&quot;
Set-VMHostAdvancedConfiguration -VMHost $Hostname -Name Disk.DiskMaxIOSize -Value 128 | Out-Null

Write-Host &quot;Changing any LUNs with MultipathPolicy set to MostRecentlyUsed to be RoundRobin instead&quot;
Get-ScsiLun -VmHost $Hostname -LunType &quot;disk&quot; | Where-Object {$_.MultipathPolicy –eq &quot;MostRecentlyUsed&quot;} | Set-ScsiLun -MultipathPolicy &quot;RoundRobin&quot; | Out-Null

Write-Host &quot;Setting the default PSP to be VMW_PSP_RR&quot;
$esxCli = Get-EsxCli –Server $Hostname
$esxCli.nmp.satp.setdefaultpsp(&quot;VMW_PSP_RR&quot;, &quot;VMW_SATP_ALUA&quot;)

Write-Host &quot;Disconnecting from Host&quot;
$DefaultVIServer | Disconnect-VIServer -Confirm:$false
}
</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2011/12/configuring-hp-eva-recommended-settings-for-esxi-via-powercli.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Testing TCP Port Response from PowerShell</title>
		<link>http://www.jonathanmedd.net/2011/12/testing-tcp-port-response-from-powershell.html</link>
		<comments>http://www.jonathanmedd.net/2011/12/testing-tcp-port-response-from-powershell.html#comments</comments>
		<pubDate>Tue, 20 Dec 2011 12:40:15 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2093</guid>
		<description><![CDATA[Recently I was listening to the PowerScripting Podcast and Hal mentioned a Test-TCPPort function he had put together a while back. I had a similar need to be able to test a bunch of machines post reboot, that they had come back successfully and a Ping test wouldn&#8217;t do since that didn&#8217;t necessarily mean that [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was listening to the <a href="http://powerscripting.net/">PowerScripting Podcast</a> and <a href="http://twitter.com/halr9000">Hal</a> mentioned a <a href="http://halr9000.com/article/418">Test-TCPPort function</a> he had put together a while back. I had a similar need to be able to test a bunch of machines post reboot, that they had come back successfully and a Ping test wouldn&#8217;t do since that didn&#8217;t necessarily mean that Windows has successfully booted <img src='http://www.jonathanmedd.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So taking inspiration from that post I put together the following script (I convert it to a function for my own use, but it&#8217;s easier for my colleagues to use as a script) which will test by default RDP response from servers and report the results. A few examples of how to use it:</p>
<p><strong>Test a single server</strong></p>
<pre class="brush: powershell;">

.\Test-PortResponse.ps1 -ComputerName Server01 | Format-Table -AutoSize
</pre>
<p><strong>Testing multiple servers</strong></p>
<pre class="brush: powershell;">

Get-Content servers.txt | .\Test-PortResponse.ps1 | Format-Table -AutoSize
</pre>
<p><strong>Testing multiple servers on port 22 and exporting the results to csv</strong></p>
<pre class="brush: powershell;">

Get-Content servers.txt | .\Test-PortResponse.ps1 -Port 22 | Export-Csv Ports.csv -NoTypeInformation
</pre>
<p>Here&#8217;s the code you can use.</p>
<pre class="brush: powershell;">

&lt;#
.SYNOPSIS
Test the response of a computer to a specific TCP port

.DESCRIPTION
Test the response of a computer to a specific TCP port

.PARAMETER  ComputerName
Name of the computer to test the response for

.PARAMETER  Port
TCP Port number to test

.EXAMPLE
PS C:\&gt; ./Test-PortResponse.ps1 -ComputerName Server01

.EXAMPLE
PS C:\&gt; Get-Content Servers.txt | ./Test-PortResponse.ps1 -Port 22

.NOTES
Author: Jonathan Medd
Date: 20/12/2011
#&gt;

[CmdletBinding()]
param(
[Parameter(Position=0,Mandatory=$true,HelpMessage=&quot;Name of the computer to test&quot;,
ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$true)]
[Alias('CN','__SERVER','IPAddress','Server')]
[System.String]
$ComputerName,

[Parameter(Position=1)]
[ValidateRange(1,65535)]
[Int]
$Port = 3389
)

process {

$Connection = New-Object Net.Sockets.TcpClient

try {

$Connection.Connect($ComputerName,$Port)

if ($Connection.Connected) {
$Response = “Open”
$Connection.Close()
}

}

catch [System.Management.Automation.MethodInvocationException]

{
$Response = “Closed / Filtered”
}

$Connection = $null

$MYObject = “” | Select-Object ComputerName,Port,Response
$MYObject.ComputerName = $ComputerName
$MYObject.Port = $Port
$MYObject.Response = $Response
$MYObject

}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2011/12/testing-tcp-port-response-from-powershell.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>London VMUG – 26th January 2012</title>
		<link>http://www.jonathanmedd.net/2011/12/london-vmug-%e2%80%93-26th-january-2012.html</link>
		<comments>http://www.jonathanmedd.net/2011/12/london-vmug-%e2%80%93-26th-january-2012.html#comments</comments>
		<pubDate>Fri, 16 Dec 2011 13:18:44 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[user group]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2085</guid>
		<description><![CDATA[The next London VMUG will take place on 26th January 2012. The agenda is below and as usual there is a fantastic line up of well known members of the community to give you some knowledge from their real world experiences. I&#8217;m planning to attend so hope to see you there &#160;]]></description>
			<content:encoded><![CDATA[<p>The next London VMUG will take place on 26th January 2012. The agenda is below and as usual there is a fantastic line up of well known members of the community to give you some knowledge from their real world experiences. I&#8217;m planning to attend so hope to see you there <img src='http://www.jonathanmedd.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/Jan2012UserGroup.png"><img class="aligncenter size-full wp-image-2086" title="Jan2012UserGroup" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/Jan2012UserGroup.png" alt="" width="653" height="824" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2011/12/london-vmug-%e2%80%93-26th-january-2012.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK VMUG Nov 2011 Review</title>
		<link>http://www.jonathanmedd.net/2011/12/uk-vmug-nov-2011-review.html</link>
		<comments>http://www.jonathanmedd.net/2011/12/uk-vmug-nov-2011-review.html#comments</comments>
		<pubDate>Wed, 14 Dec 2011 22:35:24 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[powercli]]></category>
		<category><![CDATA[user group]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2050</guid>
		<description><![CDATA[A few weeks ago I attended the first ever UK based VMUG at the National Motorcycle Museum in Birmingham. Put together by the same folks who arrange the London VMUG events, it was a great day out and obviously a lot of hard work had been put in by Jane, Alaric, Simon , Stuart and [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I attended the first ever UK based VMUG at the National Motorcycle Museum in Birmingham. Put together by the same folks who arrange the London VMUG events, it was a great day out and obviously a lot of hard work had been put in by <a href="http://twitter.com/rimmergram">Jane</a>, <a href="http://twitter.com/alaricdavies">Alaric</a>, <a href="http://twitter.com/vinf_net">Simon</a> , <a href="http://twitter.com/virtual_stu">Stuar</a>t and <a href="http://twitter.com/martynstorey">Martyn</a>. I know they had put the best part of 6 months into arranging it, so a lot of effort. By staging the event in the Midlands and involving other VMUGs from the UK, including the North of England, Scotland and Ireland there were over 300 attendees.</p>
<p>I travelled up the night before and just about made it in time for a pre-show vCurry being held at the Museum. This gave a good chance to catch up with various tweeps, since I figured (and I think it panned out) that people wouldn&#8217;t hang around too long after the main event the next day, like they normally do at the London VUMG, with longer journeys home.</p>
<p>There were also more sponsors than the London events and with involvement from the Official VMUG organisation there was even a posh looking programme to accompany the day&#8217;s events. How things have come one since I attended my first London VMUG about 3 years ago!</p>
<p><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_09581.jpg"><img class="aligncenter size-medium wp-image-2075" title="IMG_0958" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_09581-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>The event centered around the main area below with the keynotes from the stage at the front and vendors around the outside. This was accompanied by breakout sessions in rooms off to the sides. The only downside of the day was the lack of WIFI or 3G access since we were a couple of floors down, but thanks to the distribution of some BT OpenZone cards it was possible to stay reasonably well connected.</p>
<p style="text-align: center;"><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_03941.jpg"><img class="aligncenter size-large wp-image-2076" title="IMG_0394" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_03941-1024x764.jpg" alt="" width="614" height="458" /></a></p>
<p>I had volunteered to assist <a href="http://twitter.com/#!/alanrenouf">Alan Renouf</a> with a PowerCLI lab he had put together, which took place at the back of the main room.</p>
<p style="text-align: center;"><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0393.jpg"><img class="aligncenter size-large wp-image-2056" title="IMG_0393" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0393-764x1024.jpg" alt="" width="535" height="717" /></a></p>
<p>We turned this into a drop by area for questions about PowerCLI and PowerShell as well. While the lab proved pretty popular, the best part was taking people&#8217;s questions and showing them how PowerCLI and PowerShell might help them out in their jobs. It was quite surprising to find that there were many questions such as &#8216;What are they?&#8217;, &#8216;What can I do with them?&#8217; and &#8216;How much do they cost?&#8217; &#8211; and a lot assuming I was a VMware employee! A lot of these conversations spurned off into Alan sitting them down, demonstrating some coding and often writing a script for them to take away.</p>
<p style="text-align: center;"><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0395.jpg"><img class="aligncenter size-large wp-image-2059" title="IMG_0395" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0395-1024x764.jpg" alt="" width="614" height="458" /></a></p>
<p>I managed to get away to a couple of the sessions and in particular enjoyed <a href="http://twitter.com/julian_wood">Julian Wood&#8217;s</a> session on upgrading to vSphere 5, which was really well attended. One of the other most intriguing parts of the day was a mock VCDX panel organised by <a href="http://twitter.com/vinf_net">Simon Gallager</a>. This was an opportunity for people to practise defending a vSphere design (with a lot of onlookers for extra pressure!). You&#8217;ll notice that Duncan Epping was helping with this so the volunteers were grilled, but also received excellent feedback. The PowerCLI drop by area was positioned right next to this while it was going on and I know a number of people found the experience really useful when I talked to them as they walked away from it.</p>
<p><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0003.jpg"><img class="aligncenter size-full wp-image-2080" title="IMG_0003" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0003.jpg" alt="" width="720" height="960" /></a></p>
<p>I really enjoyed the day as a Community Booth Babe and now know how draining it is being on a stand all day (you can probably tell from my dishevelled look below!). The best thing for me was answering people&#8217;s PowerCLI and PowerShell questions, really kept me on my toes. The highlight being one guy who was driving into work every Saturday, carrying out a few tasks inside a VM, powering it off, taking a clone, powering it back on and then driving home &#8211; I showed  him how he could schedule this with a script and get his Saturday back <img src='http://www.jonathanmedd.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/AlanJonathan.jpg"><img class="aligncenter size-full wp-image-2062" title="Alan&amp;Jonathan" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/AlanJonathan.jpg" alt="" width="600" height="448" /></a></p>
<p>Hopefully the team will arrange another UK centered VMUG next year after the success of this one. In the meantime, details have just been published of the<a href="http://www.myvmug.org/e/in/eid=273"> next London VMUG on January 26th</a>. I highly recommend you attend this.</p>
<p>To round things off I made my way home in very ecological style with a lift from an ex-colleague and and his awesome company vehicle <img src='http://www.jonathanmedd.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0400.jpg"><img class="aligncenter size-large wp-image-2065" title="IMG_0400" src="http://www.jonathanmedd.net/wp-content/uploads/2011/12/IMG_0400-1024x764.jpg" alt="" width="614" height="458" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2011/12/uk-vmug-nov-2011-review.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK PowerShell User Group December 2011 &#8211; Use the WSMAN cmdlets to retreive WMI information</title>
		<link>http://www.jonathanmedd.net/2011/12/uk-powershell-user-group-december-2011-use-the-wsman-cmdlets-to-retreive-wmi-information.html</link>
		<comments>http://www.jonathanmedd.net/2011/12/uk-powershell-user-group-december-2011-use-the-wsman-cmdlets-to-retreive-wmi-information.html#comments</comments>
		<pubDate>Wed, 14 Dec 2011 12:59:52 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[powershell]]></category>
		<category><![CDATA[user group]]></category>
		<category><![CDATA[wmi]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=2072</guid>
		<description><![CDATA[The UK PowerShell User Group for December 2011 will take place at 19.30 GMT on Thursday December 15t. The topic is &#8216;Use the WSMAN cmdlets to retreive WMI information and see a demo of the new WMI API’s CIM cmdlets in PowerShell v3 CTP 2&#8242;. I&#8217;m looking forward to seeing the new CIM cmdlets from [...]]]></description>
			<content:encoded><![CDATA[<p>The UK PowerShell User Group for December 2011 will take place at 19.30 GMT on Thursday December 15t. The topic is &#8216;Use the WSMAN cmdlets to retreive WMI information and see a demo of the new WMI API’s CIM cmdlets in PowerShell v3 CTP 2&#8242;. I&#8217;m looking forward to seeing the new CIM cmdlets from V3 CTP2 since I haven&#8217;t had chance to play with those yet. <a href="http://richardspowershellblog.wordpress.com/2011/12/04/uk-powershell-groupdecember-2011/">Details from Richard Siddaway&#8217;s blog</a> are below:</p>
<p>&nbsp;</p>
<pre>When: Thursday, Dec 15, 2011 7:30 PM (GMT)

Where: Virtual

*~*~*~*~*~*~*~*~*~*</pre>
<p>Discover how to use the WSMAN cmdlets to retreive WMI information and see a demo of the new WMI API’s CIM cmdlets in PowerShell v3 CTP 2</p>
<p><strong>Notes</strong></p>
<p>Richard Siddaway has invited you to attend an online meeting using Live Meeting.<br />
<strong><a href="https://www.livemeeting.com/cc/usergroups/join?id=PJSH3M&amp;role=attend&amp;pw=gG%2FC-75%28m">Join the meeting.</a></strong><br />
<strong>Audio Information</strong><br />
<strong>Computer Audio</strong><br />
To use computer audio, you need speakers and microphone, or a headset.<br />
<strong>First Time Users:</strong><br />
To save time before the meeting, <a href="http://go.microsoft.com/fwlink/?LinkId=90703">check your system </a>to make sure it is ready to use Microsoft Office Live Meeting.<br />
<strong>Troubleshooting</strong><br />
Unable to join the meeting? Follow these steps:</p>
<ol>
<li>Copy this address and paste it into your web browser:
<p>https://www.livemeeting.com/cc/usergroups/join</li>
<li>Copy and paste the required information:<br />
Meeting ID: PJSH3M<br />
Entry Code: gG/C-75(m<br />
Location: https://www.livemeeting.com/cc/usergroups</li>
</ol>
<p>If you still cannot enter the meeting, <a href="http://r.office.microsoft.com/r/rlidLiveMeeting?p1=12&amp;p2=en_US&amp;p3=LMInfo&amp;p4=support">contact support</a></p>
<p><strong>Notice</strong><br />
Microsoft Office Live Meeting can be used to record meetings. By participating in this meeting, you agree that your communications may be monitored or recorded at any time during the meeting.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2011/12/uk-powershell-user-group-december-2011-use-the-wsman-cmdlets-to-retreive-wmi-information.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

