Powershell: Cloning BIOS policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 02:55 AM
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?
- Labels:
-
UCS Central
-
UCS PowerTool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 06:53 AM
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:08 AM
Yeah, I was afraid so
