This UCS PowerShell script allows to to connect to a UCS domain and then specify the name or IP address of a server and have all the NICs on the server renamed to match the names in the UCS vNIC Template.
This script requires WMI access to the Windows machine and admin level login rights to the server.
The benefit of this is that you can quickly identify NICs to assign functions such as Hyper-V vSwitches, Clustering, Live Migrations, etc.
It only takes a few seconds for it to make the changes.
v0.6 - Initial Posted Version
v0.8 - New look and feel. Common scripting elements. Tests that you are running at least PowerShell v3
v0.8.01 - Fixed issue where script would exit if Hyper-V was not enabled
v0.8.021 - Added built in help. Command line options. Standard naming convention.
v0.8.03 - Added support for saved credentials files for both UCSM and the server to be NIC renamed
As always, let me know if you have any questions, problems or suggestions.
Hi, Lenovo/HP and DELL seem to have developed plugins for Vmware vRealize Lifecycle Manager. Is there a Cisco UCS plugin also available for the same or is there any plans of developing one..? Thanks,Indika.
We are attempting to leverage PowerTool to retrieve driver version details based on an uploaded hardware profile. We can complete the process from end-to-end. However, we cannot seem to get any more information other than the VIC (CNA) driver information....
Hello, we want to configure raid in one of our cisco hx220c m5 nodes, however, the default raid controller(hx-sas-m5) doesn't support the raid. Therefore, it would be very helpful if anyone could suggest to me a raid controller that will be supported by t...
Hi all, I am trying to create a BIOS policy using PowerTool and UCSPE with this script:Start-UcsTransaction$newbiospolicy = Add-UcsBiosPolicy -Org $orgs -Name NewBiosPolicy2 -Descr "New powershell ...
I'm working on scripting out config backups of standalone c240 servers using the utils module of the imcsdk for python: https://ciscoucs.github.io/imcsdk_docs/imcsdk.utils.html?highlight=backup_create#imcsdk.utils.imcbackup.backup_create This wo...