The attached file is a PowerShell script that takes an
unconfigured UCS cluster and configures everything up to the point where servers or server pools can be associated to Service Profiles or Service Profile templates. Make sure you read the setup instructions at the top of the script because there are some required inputs for the script to function in your environment. I would not recommend you run this against an already configured UCS that is in production.
Here is a silent video of the script in action - https://plus.google.com/photos/109824299474903453524/albums/5726070229784774561?banner=pwa&gpsrc=pwrd1#photos/109824299474903453524/albums/5726070229784774561
Updated the script to version 2