Posts under Tag: Scripting
Export and import DRS affinity rules

I just noticed this awesome work by LucD. He developed two scripts which can import and export DRS affinity rules. Especially in large environments or environments that have multiple affinity rules this is an excellent solution. Take a look at the link above for more details. Luc posted the script half way down the topic in text but also added [...]

By with 0 comments
VMware vSphere Health Check Report v1.0

I already blogged about this awesome healthcheck script by William Lam a couple of times and it just has been updated to version 1.0. The following details have been added to the already extensive list: New New licensing format/summary New EVC Enabled information New Cluster VM monitoring New Cluster Host monitoring New # of VMotions within a cluster New Datastore [...]

By with 0 comments
SRM: Running a script from a Recovery Plan

I got a question today from one of my customers on how to run a script from an SRM Recovery Plan. They tried everything but never got it working. It’s fairly easy, although you would need to take a couple of things in consideration. And reading the SRM Admin Guide page 52 and 53 wouldn’t harm you as well. But [...]

By with 1 comment
Update: VMware Health Check Report 0.94

William Lam posted an update of his Health Check script on the VMTN Communities. I’ve been using this script extensively at several customer sites together with VIMA. Here are the release notes: 03-24-2009 – v0.9.4 Fixes: -There was a bug reported by Duncan Epping and others regarding hosts that were appearing in the wrong cluster with respect to the portgroup [...]

By with 0 comments
Speed up your powershell scripts

On the VI Toolkit blog there’s a great article for people like me. They explain how to speed up your scripts. I’m no powershell guru, and these kind of articles are more than welcome to boost my scripting skills. In short, it comes down to these three tips: Try to load as many objects as possible into arrays beforehand. Once [...]

By with 0 comments
Powershell and importing .CSV files

I’ve been playing around with powershell yesterday. We needed to create over 100 VM’s and there’s no point in doing that all by hand. The customer provided us with a .csv file that contained specific info on these VM’s. It took me a while to figure out how to read the info.csv file and how to actually use it. But [...]

By with 6 comments
Set Disk.UseDeviceReset with powershell

Last week the well known powershell guru Alan Renouf helped me out with a script for enabling virtualized MMU. This week I needed to set Disk.UseDeviceReset to “0″ on at least 60 hosts. (Check the link for more info on why!) No point in doing it all by hand when the VI Toolkit can help you out and set this [...]

By with 0 comments
Page 5 of 13« First...34567...10...Last »