<?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 Unable to Import-Module after powershell upgrade to v3.0 in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11363#M566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to successfully work until I upgraded the powershell to v3.0, as soon as i upgraded and restarted the machine I am unable to import the module. I have set the execution policy to unrestricted and also the folder is not blocked. Please help fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;Import-Module : Could not load file or assembly 'file:///C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Da&lt;/P&gt;&lt;P&gt;0x80131515)&lt;/P&gt;&lt;P&gt;At line:1 char:1&lt;/P&gt;&lt;P&gt;+ Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (:) [Import-Module], FileLoadException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:04:12 GMT</pubDate>
    <dc:creator>RAVI_PALADUGU</dc:creator>
    <dc:date>2025-06-05T06:04:12Z</dc:date>
    <item>
      <title>Unable to Import-Module after powershell upgrade to v3.0</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11363#M566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to successfully work until I upgraded the powershell to v3.0, as soon as i upgraded and restarted the machine I am unable to import the module. I have set the execution policy to unrestricted and also the folder is not blocked. Please help fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;Import-Module : Could not load file or assembly 'file:///C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Da&lt;/P&gt;&lt;P&gt;0x80131515)&lt;/P&gt;&lt;P&gt;At line:1 char:1&lt;/P&gt;&lt;P&gt;+ Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (:) [Import-Module], FileLoadException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:04:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11363#M566</guid>
      <dc:creator>RAVI_PALADUGU</dc:creator>
      <dc:date>2025-06-05T06:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Import-Module after powershell upgrade to v3.0</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11368#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi - Can you try Reinstalling PowerShell Toolkit --&amp;gt; &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-22259" title="https://communities.netapp.com/docs/DOC-22259" target="_blank"&gt;https://communities.netapp.com/docs/DOC-22259&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 14:54:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11368#M567</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-26T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Import-Module after powershell upgrade to v3.0</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11375#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vinith!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it before, but for some reason it didn't work. Now I have reinstalled the framework and then reinstalled the powershell tool kit and that did the magic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works now! Thanks for the help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 17:51:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11375#M568</guid>
      <dc:creator>RAVI_PALADUGU</dc:creator>
      <dc:date>2013-04-26T17:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Import-Module after powershell upgrade to v3.0</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11382#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, Powershell v3 automatically imports your modules now, so you shouldn't have to use import-module anymore. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 18:23:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11382#M571</guid>
      <dc:creator>JOHNGARRETT</dc:creator>
      <dc:date>2013-04-26T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Import-Module after powershell upgrade to v3.0</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11389#M573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding powershell 3.0 auto module loading - That's a nice feature, but you should consider manually loading your modules anyway.&amp;nbsp; This guy sums it up pretty well:&lt;/P&gt;&lt;P&gt;&lt;A href="http://stevenmurawski.com/powershell/2012/01/powershell-v3-auto-loading-of-modules" target="_blank"&gt;http://stevenmurawski.com/powershell/2012/01/powershell-v3-auto-loading-of-modules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a nutshell, if the cmdlet you are reaching for is defined in more than one module, you may not know which one Powershell will load.&amp;nbsp; THis may cause unexpected results.&amp;nbsp; Your script behavior could change even though you only added a module to your PSModulePath directory and had not actually changed the script.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 16:13:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unable-to-Import-Module-after-powershell-upgrade-to-v3-0/m-p/11389#M573</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2013-05-08T16:13:10Z</dc:date>
    </item>
  </channel>
</rss>

