Open odesaphy opened 1 year ago
The missing -IloHostname
parameter will be fixed.
However, I am unable to reproduce the first issue where attribute variables are printed to the screen as a single line. I tried this on the current 6.60 through 8.00 libraries. It tried to reproduce this in both PowerShell 5.1 and PowerShell 7.3. Are you able to consistently reproduce this?
Actual Behavior
Get-OvServerProfileTemplate | ConvertTo-OVPowerShellscript generate mpSettings on a single line Missing IloHostname in call to New-OVServerProfileIloPolicy (when -ManageIloHostname is set)
Part of generated script
Proposed Solution - Single Line Issue
From
To (Using AddRange for adding multilne $mpSettingsCode to $scriptCode)
Proposed Solution - New-OVServerProfileIloPolicy
From
To (Missing -IloHostname parameter)
Version Information
HPE OneView PowerShell Library Version : 6.60.3332.3428 HPE OneView Appliance Version : 6.60.00.455762.00 Output from
$PSVersionTable
on your Windows Host: