Category Archives: Scripting

Storage vMotion with Thin-Provisioning in PowerShell

In an earlier post I mentioned a script written by a co-worker to determine all of the non-thinprovisioned virtual machines.  This script is a follow-up to that, which allows actually uses storage vMotion to resolve the problems.  It is important … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Get Thick Provisioned Disks

Another interesting PowerCLI script from today.  My proof of concept environment uses thin provisioned disks — this lets us have a lot more test machines than we really have disk space.   The other day we ran out of space … Continue reading

Posted in Scripting, Virtualization | 1 Comment

Guest OS Mis-match

I’ve been working on cleaning up my vSphere environment and found a very handy one-liner today.  The full article can be found here: http://frankdenneman.nl/2009/12/impact-of-mismatch-guest-os-type/ I took the suggestions in the comments and came up with the following: Get-View -ViewType VirtualMachine … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Homegrown Dictionary/Rainbow Table Password Discovery

Sometimes it is really easy to figure out a user’s password.  Just check out that picture to the right.  Other times the password is less obvious but could come from a list of passwords you already know.  For example, if your … Continue reading

Posted in Scripting | Leave a comment

Script to create 10,000 test users

I thought I would share the script I made to create 10,000 test users in an NT 4.0 domain for my test lab.  I should note a couple of things: When I first ran this script, my domain only had … Continue reading

Posted in Scripting | Leave a comment