- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: HPE OneView PowerShell
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
02-22-2021 08:56 AM
02-22-2021 08:56 AM
Hello, it seems that the powershell command
New-OVLdapGroup
requieres authentication ?
I don't understand why ? can we not use the Connection already estabish ? If you use the web interface you don't need to authenticate again ? I am confuse.
I just established a connection, and want to add some AD groups and give rights ... how can I do that ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 11:26 AM
02-22-2021 11:26 AM
Re: HPE OneView PowerShell
Session state is not shared from your web browser to any other OneView client. You need to use the clients authentication process to generate a new session. As you are using the PowerShell library, you need to first use Connect-OVMgmt.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 12:01 PM
02-22-2021 12:01 PM
Re: HPE OneView PowerShell
Sorry if my question was not clear.
I indeed use the
Connect-OVMgmt
at the begining of my script. Then I want to use
New-OVLdapGroup
but the parameters credential seems mandatory ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 12:05 PM - edited 02-22-2021 12:06 PM
02-22-2021 12:05 PM - edited 02-22-2021 12:06 PM
Re: HPE OneView PowerShell
Yes, that Cmdlet needs another credential to the authentication directory. Why? OV does not allow the password to be re-used without re-entering them. This is exactly the same as the UI. So you still need to supply the authentication directory credentials.
And there is no way for me to get your existing credentials and decrypt your password to pass as plain text. We don't support Kerberos ticketing.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 12:07 PM
02-22-2021 12:07 PM
Re: HPE OneView PowerShell
But I am using service account ...
in the web interface I don't need to provide the credentials to query AD, select a group and give a roles to this group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 12:09 PM - edited 02-22-2021 12:09 PM
02-22-2021 12:09 PM - edited 02-22-2021 12:09 PM
SolutionThen that is a missing use case in the Cmdlet. Please go create an issue on the project tracker and will look at it further.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 12:18 PM
02-22-2021 12:18 PM
Re: HPE OneView PowerShell
Done,
thanks for the fast reply