See I knew there would be a justification for it. That is a bit of a pickle but I would just go ahead and create a blank SP and assign it to the blades and power them on so they get the same firmware package you are using in the rest of the organization. I don't know how you have things laid out in your UCS but this or some variation should work although it assumes you already have a firmware package that you manually created but at least you don't have to push it out by handle to each blade. Also, I am unsure if the UCS pushes out the entire firmware even if no vNICs are apart of the service profile. If it doesn't push out that update because of the lacking components you would need to run the add-vnic or add-vhba commandlets on the Service Profile template. This should create the templates, associate them and power down the blades. Then all you have to do is go back and mass power them off and remove the profiles and template or just do script that too!
1
2# Reference previously created and configured Host Firmware Policy
3$HostFirmwarePolicy = "1.4.2b"
4
5# Create Service Profile Template and configure it to point to the Host Firmware Policy from above variable
6$SPtemp = Add-SPTemplate -Org "root/POD60" -SPTemplateName FirmwareTemplate
7Invoke-XmlCommand -XMLStringList "<configConfMo inHierarchical=""false""><inConfig><lsServer dn=""$($SPtemp.dn)"" hostFwPolicyName=""$HostFirmwarePolicy"" /></inConfig></configConfMo>"
8
9# Get all blades not associated to a Service Profile
10$unassociatedblades = Get-Blade | where {$_.association -match "none"}
11
12# Foreach blade create a Service Profile and assign it to a blade
13foreach ($blade in $unassociatedblades)
14{
15 $SP = Add-SPFromTemplate -Org "root/POD60" -SPName "FirmwareTemp" -SPTemplateName "FirmwareTemplate" -TemplateOrg "root/POD60"
16 Invoke-XmlCommand -XMLStringList "<configConfMo inHierarchical=""false""><inConfig><lsServer dn=""$($SP.dn)""><lsBinding pnDn=""sys/chassis-$($blade.chassis)/blade-$($blade.blade)"" /></lsServer></inConfig></configConfMo>"
17}