<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PowerShell Toolkit Won't Upgrade in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459934#M7043</link>
    <description>&lt;P&gt;I just upgraded the PowerShell Toolkit from&amp;nbsp;9.15.1.2407 to&amp;nbsp;9.16.1.2410. As it seems to happen with nearly every upgrade, it isn't working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, what happened to install.ps1? That made installations super easy and now it's gone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, if I understand correctly, we should unzip the NetApp.OnTAP download, then unzip the underlying NetApp_OnTAP zip file, and finally copy the NetApp.OnTAP folder to the appropriate path, in our case "C:\Program Files (x86)\Netapp\NetApp PowerShell Toolkit\Modules" (that's where the existing folder is located).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried copying on top of the existing folder and replacing files, and I tried deleting the original folder and replacing it with the whole new folder. In both cases, when I run&amp;nbsp;&lt;STRONG&gt;Import-Module NetApp.ONTAP&lt;/STRONG&gt; I get the following. Anyone know the cause? The file it lists (OntapiPS.dll) is in the location it lists.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Import-Module : Could not load file or assembly 'file:///C:\Program Files (x86)\Netapp\NetApp PowerShell&lt;BR /&gt;Toolkit\Modules\NetApp.ONTAP\OntapiPS.dll' or one of its dependencies. Operation is not supported. (Exception from&lt;BR /&gt;HRESULT: 0x80131515)&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Import-Module NetApp.ONTAP&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException&lt;BR /&gt;+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 17:45:48 GMT</pubDate>
    <dc:creator>TMADOCTHOMAS</dc:creator>
    <dc:date>2025-04-03T17:45:48Z</dc:date>
    <item>
      <title>PowerShell Toolkit Won't Upgrade</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459934#M7043</link>
      <description>&lt;P&gt;I just upgraded the PowerShell Toolkit from&amp;nbsp;9.15.1.2407 to&amp;nbsp;9.16.1.2410. As it seems to happen with nearly every upgrade, it isn't working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, what happened to install.ps1? That made installations super easy and now it's gone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, if I understand correctly, we should unzip the NetApp.OnTAP download, then unzip the underlying NetApp_OnTAP zip file, and finally copy the NetApp.OnTAP folder to the appropriate path, in our case "C:\Program Files (x86)\Netapp\NetApp PowerShell Toolkit\Modules" (that's where the existing folder is located).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried copying on top of the existing folder and replacing files, and I tried deleting the original folder and replacing it with the whole new folder. In both cases, when I run&amp;nbsp;&lt;STRONG&gt;Import-Module NetApp.ONTAP&lt;/STRONG&gt; I get the following. Anyone know the cause? The file it lists (OntapiPS.dll) is in the location it lists.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Import-Module : Could not load file or assembly 'file:///C:\Program Files (x86)\Netapp\NetApp PowerShell&lt;BR /&gt;Toolkit\Modules\NetApp.ONTAP\OntapiPS.dll' or one of its dependencies. Operation is not supported. (Exception from&lt;BR /&gt;HRESULT: 0x80131515)&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Import-Module NetApp.ONTAP&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException&lt;BR /&gt;+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 17:45:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459934#M7043</guid>
      <dc:creator>TMADOCTHOMAS</dc:creator>
      <dc:date>2025-04-03T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit Won't Upgrade</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459972#M7044</link>
      <description>&lt;P&gt;Hi, I had the same thing, but I solved it by unblocking the downloaded zip file before unpacking and copying it: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="unblock-powershell-zipfile.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/30608i874C59E9E7B3F4B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="unblock-powershell-zipfile.png" alt="unblock-powershell-zipfile.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 11:54:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459972#M7044</guid>
      <dc:creator>sneppef</dc:creator>
      <dc:date>2025-04-07T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit Won't Upgrade</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459982#M7045</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/109746"&gt;@sneppef&lt;/a&gt;&amp;nbsp;, that one little detail resolved the issue!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 17:53:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-Won-t-Upgrade/m-p/459982#M7045</guid>
      <dc:creator>TMADOCTHOMAS</dc:creator>
      <dc:date>2025-04-07T17:53:45Z</dc:date>
    </item>
  </channel>
</rss>

