- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- iLO Powershell Cmdlets - How to add directory grou...
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
Discussions
Forums
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
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
тАО06-21-2016 09:48 AM
тАО06-21-2016 09:48 AM
iLO Powershell Cmdlets - How to add directory groups?
I have successfully set the iLO controllers to use LDAP using
Set-HPiLODirectory -Server $_ -Username $iloUsername -Password $iloPassword -LDAPDirectoryAuthentication Use_Directory_Default_Schema -ServerAddress $LDAPServer -ServerPort $LDAPServerPort -UserContext1 '@corp.domain.com' -DisableCertificateAuthentication
Now LDAP is enabled, but not active. How do you remotely add an entry to the Directory Groups table in the User Administration section?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2016 01:36 AM
тАО06-29-2016 01:36 AM
Re: iLO Powershell Cmdlets - How to add directory groups?
If you're still searching Try Set-HPiLOSchemalessDirectory.
works for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2016 03:42 AM
тАО07-01-2016 03:42 AM
Re: iLO Powershell Cmdlets - How to add directory groups?
Yes Set-HPiLOSchemalessDirectory is the way to add directory groups to the iLO.
Did it solve your problem ?
Thanks,
Gokul
HPE PowerShell Team
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2018 02:44 PM
тАО01-03-2018 02:44 PM
Re: iLO Powershell Cmdlets - How to add directory groups?
How about how to remove Active Directory Groups? Trying to clean up some legacy groups. I have no problem adding to Group1Name... however I would like to remove the Information in Group5Name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2018 04:20 PM
тАО01-03-2018 04:20 PM
Re: iLO Powershell Cmdlets - How to add directory groups?
Figured it out... :)
The following:
Set-HPiLOSchemalessDirectory -Server $HOSTNAME -USERNAME $user -Password $pwd -DisableCertificateAuthentication -Group1Name ""
Will remove the exisiting Group in the #1 slot and and then move the data in #2 to #1, #3 to #2, ETC...
The following:
Set-HPiLOSchemalessDirectory -Server $HOSTNAME -USERNAME $user -Password $pwd -DisableCertificateAuthentication -Group1Name $Admin -Group1Priv $Admin_Priv -Group1SID $Admin_SID -Group2Name $Opt -Group2Priv $Opt_Priv -Group2SID $Opt_SID -Group3Name $RO -Group3Priv $RO_Priv -Group3SID $RO_SID -Group4Name "" -Group5Name "" -Group6Name ""
Will take the values stored in the Variables and assign them while removing any existing AD Groups that reside in the #4, #5, and #6 slots.