08-12-2014 02:54 PM - edited 03-01-2019 11:47 AM
I'm looking for the PowerTool syntax to modify both of these values on individual service profiles. The documentation behind most of these cmdlests is almosts non-existent.
I believe the boot policy may be able to be changed like this:
Set-UcsServiceProfile -BootPolicyName
As for the host firmware version under the policies tab of the SP... I have no idea what that cmdlet would be.
See attached images for examples.
Thanks in advance,
JD
08-12-2014 04:06 PM
Hello,
One version of the User guide for UCS powertool can be found here:
That guide makes notes of the following commands in regards to HFPs:
Host Firmware Package
Create a Host Firmware package and set IgnoreCompCheck to No.
$host_firm_pack = Add-UcsFirmwareComputeHostPack -Name host_firm_pack -IgnoreCompCheck no
Add a Host Firmware pack item.
$host_firm_pack | Add-UcsFirmwarePackItem -Type adaptor -HwModel N20-AC0002 -HwVendor "Cisco Systems Inc"
-Version '1.4(1i)'
Set version of Host Firmware pack item.
$host_firm_pack | Get-UcsFirmwarePackItem -HwModel N20-AC0002 | Set-UcsFirmwarePackItem -Version '2.0(1t)'
Remove Host Firmware package.
$host_firm_pack | Remove-UcsFirmwareComputeHostPack
I would also like to recommend the Cisco Developed integrations section which may be more specific to the powertool:
As well as the Cisco Developers Network:
https://developer.cisco.com/site/devnet/home/index.gsp
Regards,
-Gabriel
08-13-2014 08:46 AM
Gabriel,
Thanks for the reply. The only command that stands out here is: Set-UcsFirmwarePackItem
However, after looking at the switches for the cmdlet it does not appear that this is to be used to change the current running firmware package version on a Service Profile.
Am I missing something here?
JD
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide