NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

Microsoft Virtualization Discussions

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

Rajesh_Chhikara
5,385 Views

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.

1 ACCEPTED SOLUTION

donny_lang
5,374 Views

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

View solution in original post

2 REPLIES 2

donny_lang
5,375 Views

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

Rajesh_Chhikara
5,236 Views

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

Public