AsBuiltReport / AsBuiltReport.NetApp.ONTAP

A PowerShell module to generate an as built report on the configuration of NetApp ONTAP storage arrays.
MIT License
15 stars 3 forks source link

Get-NetAppOntapAPI function do not return any data under PW5.1 #42

Closed rebelinux closed 3 months ago

rebelinux commented 3 months ago

Bug description

The function Get-NetAppOntapAPI don't work on systems with powershell 5.1

Command-line input

New-AsBuiltReport -Report NetApp.ONTAP -AsBuiltConfigFilePath C:\Users\jocolon\AsBuiltReport\AsBuiltReport.json -OutputFolderPath C:\Users\jocolon\AsBuiltReport\ -Target 192.168.7.60 -Format HTML -EnableHealthCheck -Credential $cred -ReportConfigFilePath C:\Users\jocolon\AsBuiltReport\AsBuiltReport.NetApp.ONTAP.json

Steps to reproduce

Run report under PW5.1

Expected behaviour

Function Get-NetAppOntapAPI works in any host environment

Screenshots

No response

Operating System

any

PowerShell Version

5.1

PowerShell Modules

Name                       Version
----                       -------
AsBuiltReport.Core         1.4.0
AsBuiltReport.NetApp.ONTAP 0.6.7
PScribo                    0.10.0
PScriboCharts              0.9.0
PSPKI                      4.2.0
AsBuiltReport.NetApp.ONTAP 0.6.2
PScribo                    0.10.0
PScriboCharts              0.9.0
PSPKI                      4.2.0
PSPKI                      3.7.2  

Additional Context

No response

Before submitting