Microsoft Virtualization Discussions

Not Able To Import Module At Powershell after installing PS tool kit v9.3.

Hi Everyone,

Please help with with below issue.

 

After installing the PS Toolkit  ver 9.3, and after importing the module, when running Get-NaHostDisk, the following error is received:.

getting: Method not found.

 

Tested to reimport the DataONTAP module, and failed.

The module shows in the PS ISE, but still do not run.

Tested Get-NaHostVolume, but fail with the same error message.

2 REPLIES 2

Re: Not Able To Import Module At Powershell after installing PS tool kit v9.3.

What version of the .NET Framework are you running on your machine? You will want version 4.5.1 or above.

 

You can easily check via PowerShell by running (if you're running 4.5.1 or above, this command will return "True"): 

 

(Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release -ge 378675

Re: Not Able To Import Module At Powershell after installing PS tool kit v9.3.

Thanks Donny for your help, it worked after upgrading the dot net framework to 4.6. Earlier it was 4.0.

Forums