Script Download: CreatePersonalSite.zip
http://gallery.technet.microsoft.com/scriptcenter/Pre-Provision-SharePoint-ec781ee9

This PowerShell script shows how to Pre-Provision SharePoint 2010 MySite.

Each user's personal MySite will be automatically  created when the user himself click the button "My Site"/"My Profile" first time, this will make user wait several seconds/minutes until the his MySite site creation is finished, it can save some time (or better experience) for users with using PowerShell to provision the users' MySites previously.

image image
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery