cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
188
Views
0
Helpful
2
Replies

Powershell: Cloning BIOS policy

Gabrie
Level 1
Level 1

When deploying new templates through Powershell I want to clone an existing BIOS policy and attach it to the new template. Unfortunately there is no clone or copy cmdlet. When I use the GUI logger to convert the api commands used to clone a BIOS template to a new one, the code is about 200+ lines and it just creates a new bios policy and populates it with literally every setting from the original policy making the process dead slow. 

Is there no easier way? 

2 Replies 2

Kirk J
Cisco Employee
Cisco Employee

There isn't a UCSM GUI or CLI version of that command to begin with, so I wouldn't expect there to be a PowerShell equivalent either.

While there are clone commands for service profiles, service profile templates, not all objects have the clone option including the bios policy.

Kirk...

 

Yeah, I was afraid so I'll tell my colleagues to just duplicate a BIOS policy by hand after deployment of a new template.

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card