<?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>ben.neise.co.uk &#187; PowerCLI</title>
	<atom:link href="http://ben.neise.co.uk/index.php/tag/powercli/feed/" rel="self" type="application/rss+xml" />
	<link>http://ben.neise.co.uk</link>
	<description></description>
	<lastBuildDate>Wed, 27 Jul 2011 10:19:42 +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>Creating a Shortcut to a PowerShell Script</title>
		<link>http://ben.neise.co.uk/index.php/2011/07/creating-a-shortcut-to-a-powershell-script/</link>
		<comments>http://ben.neise.co.uk/index.php/2011/07/creating-a-shortcut-to-a-powershell-script/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:09:40 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Powershell Script]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[VI Toolkit]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=163</guid>
		<description><![CDATA[You've probably noticed that when you double-click on a PowerShell script, it is opened for editing rather than being run. This is useful from a security standpoint, and while administrators have no problem opening up the shell and running the script, you've probably made something useful that you want to share with users, and users always need a bit more hand-holding.]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably noticed that when you double-click on a PowerShell script, it is opened for editing rather than being run. This is useful from a security standpoint, and while administrators have no problem opening up the shell and running the script, you&#8217;ve probably made something useful that you want to share with users, and users always need a bit more hand-holding.</p>
<div id="attachment_166" class="wp-caption alignnone" style="width: 228px"><img class="size-medium wp-image-166" title="PowerShell shortcut properties" src="http://ben.neise.co.uk/wp-content/uploads/2009/05/psshortcut-218x300.png" alt="PowerShell shortcut properties" width="218" height="300" /><p class="wp-caption-text">PowerShell shortcut properties</p></div>
<p>Assuming that your PowerShell installation is in the default location, you need to append the path to your script in the shortcut path like so:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">%windir%\System32\WindowsPowerShell\v1.0\powershell.exe C:\Scripts\MyUsefulScript.ps1</pre></div></div>

<p>If you are wanting to run a PowerCLI (VI Toolkit) script, you also need to add the following line:-</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Add-PSSnapin</span> VMware.VimAutomation.Core</pre></div></div>

<p>&#8230;to your script, as the VMware Cmdlets are not loaded by default unless you run it from the VMware Toolkit Shortcut.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2011/07/creating-a-shortcut-to-a-powershell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing computer password expiry</title>
		<link>http://ben.neise.co.uk/index.php/2010/01/357/</link>
		<comments>http://ben.neise.co.uk/index.php/2010/01/357/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 14:53:45 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=357</guid>
		<description><![CDATA[If you work with non-persistent virtual machines on Windows domains, you will be familiar with your machines being disconnected from the domain every 30 days.When you try to log in, you get a message saying "The trust relationship between this workstation and the primary domain failed.". Her'es how to fix it.]]></description>
			<content:encoded><![CDATA[<p>If you work with non-persistent virtual machines on Windows domains, you will be familiar with your machines being disconnected from the domain every 30 days.When you try to log in, you get a message saying:-</p>
<blockquote><p>&#8220;The trust relationship between this workstation and the primary       domain failed.&#8221;</p></blockquote>
<p>The problem is detailed in this <a href="http://support.microsoft.com/kb/162797">KB Article</a>. What happens is that every 30 days (by default) the client initiates a computer password change on the domain controller. This computer password is used to authenticate the computer as the computer object in AD, and is distinct from the user&#8217;s password. When the non-persistent machine resets, the passwords go out of synchronization and domain authentication fails.</p>
<p>This can be fixed, as per <a href="http://support.microsoft.com/kb/154501/">Microsoft&#8217;s KB article</a>, by disabling the client-initiated computer password changes; this can be done using Local or Group Policy, by script, or by directly editing the registry.</p>
<h1>Using local, or group policy</h1>
<p>Set the key shown below to <strong>Disabled</strong></p>
<p><a href="http://ben.neise.co.uk/wp-content/uploads/2010/01/GPO.png"><img class="alignnone size-full wp-image-358" title="GPO" src="http://ben.neise.co.uk/wp-content/uploads/2010/01/GPO.png" alt="" width="685" height="308" /></a></p>
<h2>Using REGEDIT</h2>
<p>Set the below value to <strong>1</strong></p>
<p><a href="http://ben.neise.co.uk/wp-content/uploads/2010/01/Regedit.png"><img class="alignnone size-full wp-image-359" title="Regedit" src="http://ben.neise.co.uk/wp-content/uploads/2010/01/Regedit.png" alt="" width="652" height="282" /></a></p>
<h1>Using Windows shell script</h1>
<pre> :: Set registry key to disable computer password expiry</pre>
<pre>REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters" /v DisablePasswordChange /t REG_DWORD /d 1 /f</pre>
<p>If you’ve got access to the Domain Controller, you can also set a GPO so that <strong>Domain Controller: Refuse Machine Password Changes</strong> is <strong>Enabled</strong>. This is in <em>Windows Settings </em><em>à Securiy Settings </em><em>à Local Policies </em><em>à Security Options </em>(the same location as the <strong>Domain Member: Disable Machine Account Password Changes</strong>).</p>
<p>Also, if you need to rejoin machines that have already fallen off the domain, you can miss the reboot after removing it from the domain, so:</p>
<ol>
<li>Shut the machine down</li>
<li>Make the drives Persistent</li>
<li>Start the machine and log in</li>
<li>Remove the machine from the domain</li>
<li>Add the machine to the domain</li>
<li>Reboot</li>
<li>Shut-down and make Non-Peristent</li>
</ol>
<p>Skipping the middle reboot saves a couple of minutes (which adds up if you have a lot to do). The above processes can also be scripted through the use of PowerCLI with Invoke-VMCommand and either NETDOM (for XP/Vista) or PowerShell for Windows 7.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2010/01/357/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing drive letter assignments after deploying a virtual machine from a template</title>
		<link>http://ben.neise.co.uk/index.php/2010/01/changing-drive-letter-assignments-after-deploying-a-virtual-machine-from-a-template/</link>
		<comments>http://ben.neise.co.uk/index.php/2010/01/changing-drive-letter-assignments-after-deploying-a-virtual-machine-from-a-template/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 13:36:31 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Powershell Script]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=346</guid>
		<description><![CDATA[Using PowerCLI and DISKPART to change drive letter assignments after specific assignments have been reset by Sysprep during the customisation process.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had an ongoing problem with &#8220;Sequencing&#8221; machines for <a href="http://en.wikipedia.org/wiki/Microsoft_Application_Virtualization">Microsoft Application Virtualisation</a> (formerly SoftGrid). The virtual machine template is correctly set up with a secondary drive set to Q:\ (the drive letter is integral to the sequencing process). However, when the machines are deployed from the template, the Sysprep part of the customization process <a href="http://social.technet.microsoft.com/forums/en-US/itprovistadeployment/thread/694daccd-a48d-4529-9aaa-555cda297038">results in the drive being &#8220;reset&#8221;</a> to the lowest available &#8211; in this case D:\.</p>
<p>At first, we manually changed these assignments using the Disk Management MMC before setting the drives to non-persistent. Lately, I&#8217;ve been using a DISKPART script, which speeds up the process, but still requires logging into each machine.</p>
<p>I saw Arnim <a href="http://www.van-lieshout.com/2010/01/powercli-get-wmi-info-from-isolated-guests/">van Lieshout&#8217;s post on <strong>Invoke-VMScript</strong> yesterday</a>, and realised that this could be used to run the DISKPART script on multiple machines. In order to get the TXT file used by DISKPART onto the machine, I&#8217;m also using the <strong>Copy-VMGuestFile</strong> command found in <a href="http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/windowstoolkit40U1-200911-releasenotes.html">PowerCLI 4.0 Update 1</a>.</p>
<pre class="brush: powershell; title: ; notranslate"># Change drive letter assignment from D to Q

# Gets the specific VMs we're after as an object
$objVMs = Get-Folder &quot;Sequencers&quot; | Get-VM | Sort-Object Name

# Assign the command line required for DISKPART to a variable
$strScript = &quot;IF EXIST D:\ DISKPART /S C:\DiskPart_Change_C_To_Q.txt&quot;

# Loop through the VMs
ForEach ($objVM in $objVMs){
# Let the user know
Write-Host Copying file to $objVM
Copy-VMGuestFile -Source &quot;C:\Tools\DiskPart_Change_C_To_Q.txt&quot; -Destination &quot;c:\&quot; -LocalToGuest -VM $objVM -HostUser root -HostPassword password -GuestUser Administrator -GuestPassword password
Write-Host Changing disk partitions on $objVM
Invoke-VMScript $strScript -vm $objVM -HostUser root -HostPassword password -GuestUser Administrator -GuestPassword password -ScriptType &quot;bat&quot;
}&lt;/pre&gt;
The TXT file contained the following:-
&lt;pre&gt;SELECT VOLUME 2
ASSIGN LETTER=Q</pre>
<p>This requires root credentials for the host, and administrator rights on the target machine, but, as Arnim notes, will work in the absence of client network connectivity.</p>
<p>This is a bit of a hack,: leaving the TXT file behind on the C drive; using root credentials rather than an account with the least effective permissions; and having the script contain the credentials in plain-text. However, I&#8217;m enthusiastic about using this solution in a more structured way in future. I&#8217;m already thinking about using it to defragment and <a href="http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx">SDelete</a> our thick-provisioned virtual machines before converting them to Thin provisioned disks.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2010/01/changing-drive-letter-assignments-after-deploying-a-virtual-machine-from-a-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing StandByAction using PowerShell script created with help from Onyx</title>
		<link>http://ben.neise.co.uk/index.php/2009/11/changing-standbyaction-using-powershell-script-generated-with-help-from-onyx/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/11/changing-standbyaction-using-powershell-script-generated-with-help-from-onyx/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 11:09:33 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Powershell Script]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Onyx]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=302</guid>
		<description><![CDATA[Using Onyx to generate PowerShell/PowerCLI script to change the StandBy action on a number of machines.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re currently having some issues caused by the <a href="http://communities.vmware.com/thread/244259?tstart=0">convergence of vSphere 4.0, IndependentNonPersistent drives, StandBy and DRS</a> (I&#8217;ll post more on that later).  As a workaround, we needed to modify 228 machines so that they did not go into hibernation. You can do this though the vSphere Client by right clicking the virtual machine, click <strong>Edit Settings</strong>, go to the <strong>Options Tab</strong>, then select <strong>Power Management</strong>, and changing the radio button. We were wanting to change from &#8220;Suspend the virtual machine&#8221; to &#8220;Put the guest OS into standby mode and leave the virtual machine powered on&#8221;.</p>
<p><img class="size-medium wp-image-303 alignleft" title="PowerSettings" src="http://ben.neise.co.uk/wp-content/uploads/2009/11/PowerSettings-300x264.PNG" alt="PowerSettings" width="300" height="264" /></p>
<p>To do this the machines need to be powered down. We had an imminent maintenance window, but it wouldn&#8217;t allow us the time to make this change manually (even if we wanted to), this necessitated some automation. Unfortunately I had no idea how to go about editing this setting using the PowerCLI, even after a little search through the <a href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/windows_toolkit">VMware PowerCLI community</a>.</p>
<p>This seemed like the perfect opportunity to try out <a href="http://ben.neise.co.uk/index.php/2009/11/alpha-build-of-project-onyx/">Project Onyx</a>.</p>
<p><a href="http://blogs.vmware.com/vipowershell/2009/11/project-onyx-is-here.html">Carter Shanklin&#8217;s video</a> does a good job of explaining how to Onyx up and running, and it worked exactly as described (even on my Windows 7 machine).</p>
<ol>
<ol>
<li><a href="http://bit.ly/vmwOnyx15">Download the Onyx files</a> and extract to a folder</li>
<li>Run the Onyx executable</li>
</ol>
</ol>
<p><img class="size-medium wp-image-304 alignright" title="OnyxWindow" src="http://ben.neise.co.uk/wp-content/uploads/2009/11/OnyxWindow-300x203.PNG" alt="OnyxWindow" width="300" height="203" /></p>
<ol>
<li>Click the <strong>Connect</strong> button, and connect to your VirtualCenter server.</li>
<li>Once that&#8217;s launched, start vSphere client, but instead of connecting to your VirtualCenter server, connect to <strong>http://localhost:1545</strong> (Carter actually says <strong>1445</strong> in the video, but you can see on screen that he&#8217;s using <strong>1545</strong>). Use your normal credentials.</li>
<li>Ignore the warning about unencrypted traffic (as Carter explains, the unencrypted traffic is local-only, the network traffic is still encrypted)</li>
<li>Click the <strong>Start </strong>button on Onyx</li>
<li>In vSphere client make whatever changes it is that you&#8217;re wanting to record.</li>
<li>Click the <strong>Pause</strong> button on Onyx, and you&#8217;ll see in the window a script has been created.</li>
<li>Copy this into <a href="http://thevesi.org/index.jspa">your favourite PowerShell editor</a>, and modify until it&#8217;s suitable for your purposes.</li>
</ol>
<p>The original capture from the Onyx Window</p>
<pre class="brush: powershell; title: ; notranslate">$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
$spec.changeVersion = &quot;2009-11-27T09:16:04.570821Z&quot;
$spec.powerOpInfo = New-Object VMware.Vim.VirtualMachineDefaultPowerOpInfo
$spec.powerOpInfo.defaultPowerOffType = &quot;soft&quot;
$spec.powerOpInfo.defaultSuspendType = &quot;hard&quot;
$spec.powerOpInfo.defaultResetType = &quot;soft&quot;
$spec.powerOpInfo.standbyAction = &quot;checkpoint&quot;

$_this = Get-View -Id 'VirtualMachine-vm-1074'
$_this.ReconfigVM_Task($spec)</pre>
<p>A second capture changing the setting back to isolate the exact line that makes the changes</p>
<pre class="brush: powershell; title: ; notranslate">$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
$spec.changeVersion = &quot;2009-11-27T09:16:33.872017Z&quot;
$spec.powerOpInfo = New-Object VMware.Vim.VirtualMachineDefaultPowerOpInfo
$spec.powerOpInfo.defaultPowerOffType = &quot;soft&quot;
$spec.powerOpInfo.defaultSuspendType = &quot;hard&quot;
$spec.powerOpInfo.defaultResetType = &quot;soft&quot;
$spec.powerOpInfo.standbyAction = &quot;powerOnSuspend&quot;

$_this = Get-View -Id 'VirtualMachine-vm-1074'
$_this.ReconfigVM_Task($spec)</pre>
<p>And a finished script, which will run it against all machines in a specified blue folder comment/uncomment one of the $specVM.powerOpInfo.standbyAction lines to choose which option you want.</p>
<pre class="brush: powershell; title: ; notranslate">$objVMs = Get-Folder &quot;Folder Name&quot; | Get-VM
ForEach ($objVM in $objVMs){
	$specVM = New-Object VMware.Vim.VirtualMachineConfigSpec
	$specVM.powerOpInfo = New-Object VMware.Vim.VirtualMachineDefaultPowerOpInfo
	$specVM.powerOpInfo.standbyAction = &quot;checkpoint&quot; 			# Put the guest OS into StandBy Mode and leave the Virtual Machine powered On
	#$specVM.powerOpInfo.standbyAction = &quot;powerOnSuspend&quot; 		# Suspend the Virtual Machine
	$viewVM = Get-View -Id $objVM.Id
	$viewVM.ReconfigVM_Task($specVM)
}</pre>
<p>I was actually surprised at how easy this was; and I think it&#8217;s going to make me a bit more adventurous with what I attempt to do via the PowerCLI.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/11/changing-standbyaction-using-powershell-script-generated-with-help-from-onyx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vSphere 4.0 Update 1 Released</title>
		<link>http://ben.neise.co.uk/index.php/2009/11/vsphere-4-0-update-1-released/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/11/vsphere-4-0-update-1-released/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 13:22:27 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=298</guid>
		<description><![CDATA[VMware have released update 1 for vSphere 4.0.]]></description>
			<content:encoded><![CDATA[<p>VMware have released update 1 for vSphere 4.0.</p>
<p>The following enhancements have been made to ESX (from the <a href="http://www.vmware.com/support/vsphere4/doc/vsp_esx40_u1_rel_notes.html#whatsnew">release notes</a>):-</p>
<blockquote><p><strong>VMware View 4.0 support</strong> <strong>–</strong> This release adds support for VMware View 4.0, a solution built specifically for delivering desktops as a managed service from the protocol to the platform.</p>
<p><strong>Windows 7 and Windows 2008 R2 support –</strong>This release adds support for 32-bit and 64-bit versions of Windows 7 as well as 64-bit Windows 2008 R2 as guest OS platforms. In addition, the vSphere Client is now supported and can be installed on a Windows 7 platform. For a complete list of supported guest operating systems with this release, see the <a href="http://www.vmware.com/resources/compatibility/search.php" target="_blank"><em>VMware Compatibility Guide</em></a>.</p>
<p><strong>Enhanced Clustering Support for Microsoft Windows –</strong> Microsoft Cluster Server (MSCS) for Windows 2000 and 2003 and Windows Server 2008 Failover Clustering is now supported on an VMware High Availability (HA) and Dynamic Resource Scheduler (DRS) cluster in a limited configuration. HA and DRS functionality can be effectively disabled for individual MSCS virtual machines as opposed to disabling HA and DRS on the entire ESX/ESXi host<strong>. </strong>Refer to the <em><a href="http://www.vmware.com/pdf/vsphere4/r40_u1/vsp_40_u1_mscs.pdf" target="_blank">Setup for Failover Clustering and  Microsoft Cluster Service</a></em> guide for additional configuration guidelines.</p>
<p><strong>Enhanced VMware Paravirtualized SCSI Support</strong><strong> –</strong> Support for boot disk devices attached to a Paravirtualized SCSI ( PVSCSI) adapter has been added for Windows 2003 and 2008 guest operating systems. Floppy disk images are also available containing the driver for use during the Windows installation by selecting F6 to install additional drivers during setup. Floppy images can be found in the <tt>/vmimages/floppies/</tt> folder.</p>
<p><strong>Improved vNetwork Distributed Switch  Performance</strong> <strong>–</strong> Several performance and usability issues have been resolved resulting in the following:</p>
<ul>
<li>Improved performance when making configuration changes to a vNetwork Distributed Switch (vDS) instance when the ESX/ESXi host is under a heavy load</li>
<li>Improved performance when adding or removing an ESX/ESXi host to or from a vDS instance</li>
</ul>
<p><strong>Increase in vCPU per Core Limit</strong> <strong>–</strong> The limit on vCPUs per core has been increased from 20 to 25. This change raises the supported limit only. It does not include any additional performance optimizations. Raising the limit allows users more flexibility to configure systems based on specific workloads and to get the most advantage from increasingly faster processors. The achievable number of vCPUs per core depends on the workload and specifics of the hardware. For more information see the <em><a href="http://www.vmware.com/pdf/Perf_Best_Practices_vSphere4.0.pdf" target="_blank">Performance Best Practices for VMware vSphere 4.0</a></em> guide.</p>
<p><strong>Enablement of Intel Xeon Processor 3400 Series</strong> – Support for the Xeon processor 3400 series has been added. For a complete list of supported third party hardware and devices, see the <a href="http://www.vmware.com/resources/compatibility/search.php" target="_blank">VMware Compatibility Guide</a>.</p></blockquote>
<p>vCenter 4.0 has also been updated, and now has full compatibility with Windows 7 x86 and x64 versions. Saving the <a href="http://xtravirt.com/running-vmware-vsphere-client-windows-7">various hacks that were necessary to get it working</a>.</p>
<p>Also, the PowerCLI has been updated, and can be found <a href="http://blogs.vmware.com/vipowershell/2009/11/powercli-40-u1-is-out.html">here</a>. There are 68 new CMDLETS, which <a href="http://www.virtu-al.net/2009/11/20/powercli-bring-on-the-next-version/">Alan Renouf does a great job of explaining</a>. I&#8217;m especially looking forward to trying out Get\Set-CustomAttribute (no more manipulation of the View object), Move-VMTemplate (no more converting templates to machines), and Get\Set-VMQuestion (for those times when the datastores run out of space for the REDO files necessitated by Non-Persistent disks).</p>
<p>I&#8217;m looking forward to investigating the new PowerCLI functionality, and I&#8217;m also looking forward to not needing to  manually customise the dozen or so Windows 7 guests I&#8217;m deploying next week!</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/11/vsphere-4-0-update-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alpha build of Project Onyx</title>
		<link>http://ben.neise.co.uk/index.php/2009/11/alpha-build-of-project-onyx/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/11/alpha-build-of-project-onyx/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 10:39:53 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Onyx]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=294</guid>
		<description><![CDATA[VMware have released an Alpha build of Project Onyx. This is a script recorder for vSphere Client, which is designed to allow scripting of things which are awkward or difficult to achieve using the VMware PowerCLI APIs alone]]></description>
			<content:encoded><![CDATA[<p>Carter Shanklin has announced that VMware have released an <a href="http://blogs.vmware.com/vipowershell/2009/11/project-onyx-is-here.html">Alpha build of the long-anticipated Project Onyx</a>. This is a script recorder for vSphere Client, which is designed to allow scripting of things which are awkward or difficult to achieve using the VMware PowerCLI APIs alone.<br />
<P><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bANfdjuH4wk&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/bANfdjuH4wk&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object><br />
<P>Downloading this at the moment, although I don&#8217;t suspect I&#8217;ll have time to look at it for a while.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/11/alpha-build-of-project-onyx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to add VMX path as a custom attribute</title>
		<link>http://ben.neise.co.uk/index.php/2009/09/script-to-add-vmx-path-as-a-custom-attribute/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/09/script-to-add-vmx-path-as-a-custom-attribute/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 14:51:28 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Powershell Script]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=256</guid>
		<description><![CDATA[I love it when I have an idea in my head of a script I need to write, and then I run across one that does exactly what I need! Hugo Peeter&#8217;s has written a script to add VMX location as a Custom Attribute: Add Vmx Path to VI Client using Powershell &#124; PeetersOnline.nl.]]></description>
			<content:encoded><![CDATA[<p>I love it when I have an idea in my head of a script I need to write, and then I run across one that does exactly what I need!</p>
<p>Hugo Peeter&#8217;s has written a script to add VMX location as a Custom Attribute:</p>
<p><a href="http://www.peetersonline.nl/index.php/vmware/add-vmx-path-to-vi-client-using-powershell/">Add Vmx Path to VI Client using Powershell | PeetersOnline.nl</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/09/script-to-add-vmx-path-as-a-custom-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SnapReminder sends e-mails to owners of snapshots</title>
		<link>http://ben.neise.co.uk/index.php/2009/06/virtu-al-%c2%bb-powercli-snapreminder/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/06/virtu-al-%c2%bb-powercli-snapreminder/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 08:38:52 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Powershell Script]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=203</guid>
		<description><![CDATA[I love this script from Alan Renouf:- [F]ind the offending snapshot, find the person who created it, get their email address from AD and send them an email reminding them of their mortal sin. Our IndependentNonPersistent drives here prevent us from using snapshots, but I&#8217;m working on a &#8220;utilisation checking&#8221; script, that should help us [...]]]></description>
			<content:encoded><![CDATA[<p>I love this script from Alan Renouf:-</p>
<blockquote><p>[F]ind the offending snapshot, find the person who created it, get their email address from AD and send them an email reminding them of their mortal sin.</p></blockquote>
<p>Our IndependentNonPersistent drives here prevent us from using snapshots, but I&#8217;m working on a &#8220;utilisation checking&#8221; script, that should help us cull some neglected machines and I might integrate some of Al&#8217;s AD interrogation into that.</p>
<p><a href="http://www.virtu-al.net/2009/06/22/powercli-snapreminder/">Virtu-Al » PowerCLI: SnapReminder</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/06/virtu-al-%c2%bb-powercli-snapreminder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Developer CodeCentral</title>
		<link>http://ben.neise.co.uk/index.php/2009/06/vmware-developer-codecentral/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/06/vmware-developer-codecentral/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 08:50:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Powershell Script]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[VI Toolkit]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=200</guid>
		<description><![CDATA[VMware have launched a new community site for code examples, and there’s a section on VMware vSphere PowerCLI (formerly VI Toolkit). They seem to be picking the best scripts from the regular contributors to the forums, so it’s a good place to have a look for examples. They’re rated by users, and tend to be [...]]]></description>
			<content:encoded><![CDATA[<p>VMware have launched a <a href="http://communities.vmware.com/community/developer/codecentral">new community site for code examples</a>, and there’s a section on <a href="http://communities.vmware.com/community/developer/codecentral/vsphere_powercli">VMware vSphere PowerCLI</a> (formerly VI Toolkit).</p>
<p>They seem to be picking the best scripts from the regular contributors to the forums, so it’s a good place to have a look for examples. They’re rated by users, and tend to be slightly better documented than the ones posted in the forums (which tend to be appended and amended as the thread progresses).</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/06/vmware-developer-codecentral/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere Evaluator&#8217;s Guide</title>
		<link>http://ben.neise.co.uk/index.php/2009/05/vsphere-evaluators-guide/</link>
		<comments>http://ben.neise.co.uk/index.php/2009/05/vsphere-evaluators-guide/#comments</comments>
		<pubDate>Fri, 29 May 2009 12:10:07 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ben.neise.co.uk/?p=190</guid>
		<description><![CDATA[VMware have published a 120-page vSphere Evaluator’s Guide with information about new features and functionality.]]></description>
			<content:encoded><![CDATA[<p>Eric Siebert at <a href="http://vsphere-land.com/news/check-out-the-new-vsphere-evaluators-guide.html">vSphere-Land.com</a> points out that VMware have published a 120-page <a href="http://www.vmware.com/files/pdf/vsphere-evaluators-guide.pdf">vSphere Evaluator’s Guide</a> that’s chock-full of information about the new features (including a nice little demo of PowerCLI).</p>
<p>Definitely worth checking out.</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.neise.co.uk/index.php/2009/05/vsphere-evaluators-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

