- Community Home
- >
- Software
- >
- HPE OneView
- >
- remove-hpovenclosure cmdlet is not working
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
07-15-2020 11:47 PM
07-15-2020 11:47 PM
remove-hpovenclosure cmdlet is not working
remove-hpovenclosure cmdlet is not working
we are in middle of deco.remove-hpovenclosure cmdlet is not working.I am using version 4.20 CMDLEt
Remove-HPOVEnclosure -name hfe50021v
Remove-HPOVEnclosure -enclosure "hfe50021v"
Getting below error:
Remove-HPOVEnclosure : The Enclosure resource is not an expected category type []. Allowed resource category type is 'enclosures'. Please check the object provided and try again.
At line:1 char:1
+ Remove-HPOVEnclosure -enclosure "hfe50021v"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (InputObject:PSObject) [Remove-HPOVEnclosure], InvalidOperationException
+ FullyQualifiedErrorId : InvalidArgumentValue,Remove-HPOVEnclosure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020 08:25 AM - edited 07-16-2020 08:27 AM
07-16-2020 08:25 AM - edited 07-16-2020 08:27 AM
Re: remove-hpovenclosure cmdlet is not working
That will not work as object names in any other Cmdlet not using the Get verb is unsupported. You should use the following instead:
Get-HPOVEnclosure -Name hfe50021v | Remove-HPOVEnclosure
This is documented in the Get-Help Get-HPOVEnclosure examples.
I am an HPE employee