
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017 05:17 AM
I am trying to use powertool to change system name for C Series UCS.
I have looked at Set-IMCtopSystem and Set-IMCManagedObject.
When i tried the IMCManagedObject with propertymap name=myname it errors out.
Please help
Solved! Go to Solution.
- Labels:
-
Unified Computing System (UCS)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 12:07 AM
Hi Hung Pham,
You can't change the System Name it is a read-only parameter. If you are looking at adding a name there are 2 options either use AssetTag (which is available from Cisco IMC 3.0(1) release and above) or Set User Label.
To set the asset tag for the system use the below cmdlet.
Get-ImcRackUnit | Set-ImcRackUnit -AssetTag "TestAssetTag" -Force
You can add a user label for the system to do that you can use the below cmdlet.
Get-ImcRackUnit | Set-ImcRackUnit -UsrLbl "Testing setting of User Label" -Force
If you want to set the Hostname for the Cisco IMC then you can use the below cmdlet.
Get-ImcMgmtIf | Set-ImcMgmtIf -Hostname "Test-Hostname" -Force
Hope this helps
Thanks,
Sumanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 12:07 AM
Hi Hung Pham,
You can't change the System Name it is a read-only parameter. If you are looking at adding a name there are 2 options either use AssetTag (which is available from Cisco IMC 3.0(1) release and above) or Set User Label.
To set the asset tag for the system use the below cmdlet.
Get-ImcRackUnit | Set-ImcRackUnit -AssetTag "TestAssetTag" -Force
You can add a user label for the system to do that you can use the below cmdlet.
Get-ImcRackUnit | Set-ImcRackUnit -UsrLbl "Testing setting of User Label" -Force
If you want to set the Hostname for the Cisco IMC then you can use the below cmdlet.
Get-ImcMgmtIf | Set-ImcMgmtIf -Hostname "Test-Hostname" -Force
Hope this helps
Thanks,
Sumanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 04:06 AM
Thanks.
That is what I needed. I am still confused why I need to pipe the "set" from a "get". I guess that is how Cisco PowerTool works.
