- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: finding racks in specific datacenter via power...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2019 11:24 AM
11-21-2019 11:24 AM
Our racks have been named the same in multiple datacenters. I need a way to say something like get-hpovracj -name R1* -datacenter DC1. This is to allow me to put a server in the correct rack via add-HPOVResourceToRack. Can someone help out witm some sameple code or a way to accomplish this if I am using the wrong cmdlets?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2019 01:45 PM - edited 11-21-2019 04:25 PM
11-21-2019 01:45 PM - edited 11-21-2019 04:25 PM
SolutionThe Get-HPOVRack Cmdlet does not currently support filtering based on datacenter location. I created a new enhancement issue on the project tracker. Can you please follow up with what version of the library you are using?
I also added a code snippet you can use to get the racks from the appliance index that are associated with a specific data center.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2019 03:34 PM
11-21-2019 03:34 PM
Re: finding racks in specific datacenter via powershell
Thanks so much
I am currently using
PS Y:\> Get-HPOVVersion
OneView LibraryVersion Path
--------- -------------- ----
ApplianceVersion: 4.20.02.395878.00 4.20.2068.2204 C:\Program Files\WindowsPowerShell\Modules\HPOneView.420
but i do plan to upgrade everything to 5.0 soon.
/Russ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2019 04:26 PM
11-21-2019 04:26 PM
Re: finding racks in specific datacenter via powershell
I plan to add this to both the 4.20 and 5.00 library as an enhancement.
I am an HPE employee