There is a Variable Name Error in the function Update-OVServerFirmware in Line 47981
The Alias of $InputObject ( $Server) is used here, but this cannot work since alias-Variable Names are not-back-directed to the real Parrameter. So any method on $Server (in this case split) must fail.
When i correct this Line my Firmware Update starts.
Try To call the function Update-OVServerFirmware with all the needed parameters.
System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression. at Update-OVServerFirmware<Process>, C:\Program Files\WindowsPowerShell\Modules\HPEOneView.830\8.30.3534.1611\HPEOneView.830.psm1: line 47981
There is a Variable Name Error in the function Update-OVServerFirmware in Line 47981
The Alias of $InputObject ( $Server) is used here, but this cannot work since alias-Variable Names are not-back-directed to the real Parrameter. So any method on $Server (in this case split) must fail.
When i correct this Line my Firmware Update starts.
Expected Behavior
Actual Behavior
Steps to reproduce
Try To call the function Update-OVServerFirmware with all the needed parameters.
Version Information
HPE OneView PowerShell Library Version: 8.30.3534.1611