HewlettPackard / POSH-HPEOneView

PowerShell language bindings library for HPE OneView.
http://hewlettpackard.github.io/POSH-HPEOneView/
125 stars 52 forks source link

Convert to PowerShell script for SPT with iLO Directory Group - Error in $GroupSID #649

Open DungKHoang opened 12 months ago

DungKHoang commented 12 months ago

Expected Behavior

I have a SPT configured with iLO Directory Group and generate a PowerShell script with the Convertto-... cmdlet

The variable $GroupSID is set to $null. If I set $GroupSiD to be blank, it works However the OV library requires this parameter to be non-null or not-empty

Line 119466 of HPEOneView800.psm1

Steps to reproduce

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion): 8.0.3528.2178 HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer): 8.40.00.480384.00 Output from $PSVersionTable on your Windows Host: PS 7.3.5

# Output from $PSVersionTable
ChrisLynchHPE commented 11 months ago

Is this to support OpenLDAP groups? Otherwise, a SID is required for Active Directory groups.