Closed rebelinux closed 3 months ago
The function Get-NetAppOntapAPI don't work on systems with powershell 5.1
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
Run report under PW5.1
Function Get-NetAppOntapAPI works in any host environment
No response
any
5.1
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
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
Additional Context
No response
Before submitting