- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-...
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
Forums
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
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
08-15-2023 01:18 PM - last edited on 08-16-2023 04:46 AM by support_s
08-15-2023 01:18 PM - last edited on 08-16-2023 04:46 AM by support_s
Hi All,
I'm currently working on check the LDAPGroup on the OA's. However, seems the cmdlet "Add-HPEOALDAPGroup" doesn't include the privilege level parameter, neither the Add-HPEOALDAPPrivilege.
By default the added group is set as "User" and I wanted to make this into "Operator".
Is there a way to do it with HPE OA PowerShell Cmdlets?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 02:20 PM
08-15-2023 02:20 PM
Query: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-HPEOALDAPPrivilege
System recommended content:
1. Scripting Tools for Windows PowerShell User Guide: iLO Cmdlets v4.0.0.0
2. Scripting Tools for Windows PowerShell Release Notes: OA Cmdlets v2.0
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 08:01 PM
08-15-2023 08:01 PM
Re: Query: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-HPEOALDAPPrivilege
The 2nd link is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 09:40 PM
08-15-2023 09:40 PM
Re: Query: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-HPEOALDAPPrivilege
Good day!
Both links working for me. You can try load it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:25 AM - last edited on 08-16-2023 01:16 AM by Sunitha_Mod
08-16-2023 12:25 AM - last edited on 08-16-2023 01:16 AM by Sunitha_Mod
Re: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-HPEOALDAPPrivilege
the HPE OneView PowerShell library provides cmdlets for managing HPE OneView infrastructure, including HPE OneView Appliances (OAs). However, specific details about cmdlet functionality and parameters might have changed since then.
Regarding your question about changing the privilege level when adding an LDAP group using the "Add-HPEOALDAPGroup" cmdlet, it's important to note that cmdlet parameters can vary depending on the version of HPE OneView and the PowerShell module you're using.
As of my last update, I don't have information on a direct cmdlet parameter to set the privilege level when adding an LDAP group using the "Add-HPEOALDAPGroup" cmdlet. The privilege level might be determined by default settings or post-configuration steps.
Here's what you might consider doing:
1. **Check Documentation**: Refer to the official documentation for the specific version of HPE OneView and the PowerShell module you're using. The documentation should provide information about available cmdlets, their parameters, and their usage.
2. **Explore Additional Cmdlets**: There might be other cmdlets within the HPE OneView PowerShell library that allow you to modify the privilege level of LDAP groups after they have been added. Look for cmdlets related to modifying group settings or privileges.
3. **Contact HPE Support**: If you're unable to find a direct solution using the available cmdlets or documentation, consider reaching out to HPE support. They can provide guidance on achieving your desired configuration using the available tools and resources.
4. **Scripting Workaround**: If the HPE OneView PowerShell library doesn't provide a direct cmdlet parameter, you might need to use a combination of cmdlets and scripting to achieve the desired result. This could involve adding the group with default settings and then using additional cmdlets or API calls to modify the privilege level.
Keep in mind that my information might be outdated, and there might have been updates or changes to the HPE OneView PowerShell cmdlets since then. I recommend consulting the most current resources, including HPE's official documentation, support channels, and online communities, for the latest information and solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 06:34 AM
08-16-2023 06:34 AM
Re: Query: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-HPEOALDAPPrivilege
i dont know why. But its always empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 06:42 AM
08-16-2023 06:42 AM
SolutionSOLVED!
Im using the version 2.0 from OA PowerShell Cmdlets.
The command its not so user friendly, i've been searching for a long time.
1. Add the LDAPGroup name
Add-HPEOALDAPGroup -Connection $connection -Group <LDAPGroup_name>
2. Modify the PriviledLevel with the following cmdlet and using -Access parameter to assign "Administrator", "Operator" or "User"
Set-HPEOALDAPSetting -Connection $connection -Group <LDAPGroup_name> -Access <Administrator, Operator or User>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 07:27 AM
08-16-2023 07:27 AM
Re: PowerShell Cmdlets Add-HPEOALDAPGroup and Add-HPEOALDAPPrivilege
Hello @CarlosChen,
That's awesome!
We are glad to know the problem has been resolved and we appreciate you for keeping us updated.