Closed shawnzzzy closed 2 years ago
How did you install the module? What happens if you were to do the following:
# You will need to ensure you have changed the directory to where the module is installed to
Test-ModuleManifest .\HPEOneView.550.psd1
As long as you are installing the module from PowerShell Gallery (Install-Module HPEOneView.550
), the module loads just fine on my Windows 10 PC when using PowerShell 5.1. So this seems to be an issue with your PC that I'm not sure how to handle this.
Test-ModuleManifest .\HPEOneView.550.psd1
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 5.50.26... HPEOneView.550 {Set-OVAlertAssignToUser, New-OVSnmpV3User, Get-OVApplianceTwoFactorAuthentication, Get-OVComposerNode...}
I installed it using:
# Install library from the PowerShell Gallery
Install-Module HPEOneView.550
As long as you are installing the module from PowerShell Gallery (
Install-Module HPEOneView.550
), the module loads just fine on my Windows 10 PC when using PowerShell 5.1. So this seems to be an issue with your PC that I'm not sure how to handle this.
I wonder if it's because the module location is in my local OneDrive. I'll try to install it to a different path.
My Windows 10 PC is setup the same way, where modules are installed to the OneDrive redirected My Documents folder. I had no issues installing and then loading the module in this way.
Closing due to no further activity. If you wish, feel free to re-open to discuss further.
Hello,
I'm able to install HPEOneView.550 but then i cannot import it. Here is the results of running the import-module:
Any ideas what the issue is?
Here is my PowerShell Version Table: