HPE OneView
1825678 Members
3629 Online
109686 Solutions
New Discussion

HPE OneView PowerShell ... rename a Rack

 
SOLVED
Go to solution
PhS-
Valued Contributor

HPE OneView PowerShell ... rename a Rack

Hello,

playing a little with HPE Onview Facilities with powershell.

I would like to rename a rack .. How can I do that with Powershell ?

Get-OVRack -name | ??? 

2 REPLIES 2
support_s
System Recommended

Query: HPE OneView PowerShell ... rename a Rack

System recommended content:

1. HPE OneView 6.3 User Guide for VMs | Change the name of a rack

2. HPE OneView for VMs 6.2 User Guide | Change the name of a rack

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo

ChrisLynch
HPE Pro
Solution

Re: HPE OneView PowerShell ... rename a Rack

$rack = Get-OVRack -Name RackName
$rack.name = "UpdatedName"
Set-OVResource -Inputobject $rack

I don't have a Set-OVRack Cmdlet apparently. You can go create a new issue on the Github project tracker to request an enhancement to the library.
I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo