Closed Reactor46 closed 3 years ago
@Reactor46 You either need to add D:\GIT_REPO
to $env:PSModulePath
or extract the NetApp ONTAP module to one of the folders already in $env:PSModulePath
. The module folder name should also be AsBuiltReport.NetApp.ONTAP
.
Hello @Reactor46,
Could you test with the most recent version 0.4.0?
What is your powershell version? $PSVersionTable
Works with .0.4.0 now!
Name Value
PSVersion 5.1.17763.2090
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.2090
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The report is in constant development, if you have any recommendations they will be well received.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior Import-Module should import the module for standard use.
Screenshots Import-Module .\AsBuiltReport.NetApp.ONTAP-0.3.0\AsBuiltReport.NetApp.ONTAP.psm1 D:\GIT_REPO\AsBuiltReport.NetApp.ONTAP-0.3.0\AsBuiltReport.NetApp.ONTAP.psm1 : Failed to import function D:\GIT_REPO\AsBuiltReport.NetApp.ONTAP-0.3.0\Src\Private\Get-AbrOntapNetworkMGMT.ps1: At D:\GIT_REPO\AsBuiltReport.NetApp.ONTAP-0.3.0\Src\Private\Get-AbrOntapNetworkMGMT.ps1:36 char:97
Desktop (please complete the following information):