Microsoft Virtualization Discussions

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

Rajesh_Chhikara
3,965 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
3,954 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
3,955 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
3,816 Views

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

Public