- Community Home
- >
- Software
- >
- HPE OneView
- >
- finding racks in specific datacenter via powershel...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP