Community

Subscribe
Highlighted
Accepted Solution

Toolkit 3 installation issue

I downloaded the toolkit and unzipped to C:\Windows\System32\WindowsPowerShell\v1.0

Then using import-module DataONTAP I get an error:

import-module : Could not load file or assembly

'file:///C:\Windows\system32\WindowsPowerShell\v1.0\Modules\DataONTAP\OntapiPS.dll' or one of its dependencies.

Operation is not supported. (Exception from HRESULT: 0x80131515)

At line:1 char:1

+ import-module DataONTAP

+ ~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (Smiley Happy [Import-Module], FileLoadException

    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand

Any ideas what this might be?

Re: Toolkit 3 installation issue

Hello Willy,  Can you please install the msi version from https://communities.netapp.com/docs/DOC-22259 

Also once you install, set youur powershell execution policy to remotesigned. 

Open your powershell prompt in "Run as Administrator mode" and run the below command 

PS C:\> Set-ExecutionPolicy remotesigned -Force

Then retry importing the module.

Re: Toolkit 3 installation issue

Thanks that did the trick

Re: Toolkit 3 installation issue

Worked for me too thanks.