PoshCode is a collection of PowerShell functions, scripts and modules that are free for public use. As you find things useful, they only ask that you contribute back to the community.
Tuesday, July 22. 2008
PowerShell Code Repository
Benefits of Server Virtualization
A whiteboard discussion between Ben Matheson, VMware Senior Director, and Jake Smith, Intel Advanced Server Technologies, on the business benefits of server virtualization, energy efficiency, and Innovative Technologies.
New VMware EMEA Online Webshop
This site makes it quick and easy for you to order all your VMware promotional items and business gifts. By visiting the different categories on the left side on your screen, you can browse the list of selected VMware items. If you are looking for something additional, you can also search the database of more than `45.000 products or contact Keiretsu Europe (VMware's online shop provider) directly.
Monday, July 21. 2008
Site Recovery Manager on HP EVA 4000 Video
The past week two fellow members (brugh and PeterB) of the Dutch VMware User Group played around with the Site Recovery Manager and a HP EVA 4000. They created a video of their findings.
Virtual Center 2.5 Update 2
Damian Murdoch over at the Australia and New Zealand's Premier Virtualization Community already reported about some enhancements in Virtual center 2.5 Update 2, but wasn’t sure of the release date.
It appears that the VirtualCentre 2.5 Update 2 release will be happening very soon. The current information suggests a tentative release date of July 10th, but it is only tentative. Detail on feature inclusions are sketchy, but there have been a number of resolutions to unreleased bugs like the DRS algorithm problem in VirtualCenter 2.5 Update 1 with debug logging. This problem causes the vpxd process to sit at 100 Percent CPU usage and dump huge numbers of debug logs to disk. Incidentally this is resolved by adding the DumpSpace = 0 parameter to the DRS settings at cluster level. This disables debug logging which actually has no impact on anything else than debugging information.
Among some other errors like the Vmomi.Fault.NoPermission, this issue is now resolved in Virtual Center 2.5 Update 2 due for GA release at the end of July 2008.
Sunday, July 20. 2008
AutoIt VMware PowerShell script
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages. AutoItX is a DLL version of AutoIt v3 that provides a subset of the features of AutoIt via an ActiveX/COM and DLL interface. This means that you can add AutoIt-like features to your VMware PowerShell script.
Invoke-Item c:\windows\notepad.exe
Get-VIServer esx35.ntpro.local -User root -Password vmware
$autoitx=new-object -com autoitx3.control
$MyHost = Get-VMHost esx35.ntpro.local
$HostView = Get-View $MyHost.ID
$NetworkSystem = get-view $HostView.ConfigManager.NetworkSystem
$AllPortGroups = $NetworkSystem.NetworkInfo.Portgroup
$autoitx.winactivate("Untitled - Notepad","")
foreach ($HostPortGroup in $AllPortGroups){$autoitx.send($HostPortGroup.Spec.Name + "`r") }