<?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 Re: Powershell Module DataONTAP in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135128#M5522</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55233"&gt;@tbshpgn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of questions...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You're saying that the PowerShell ISE is unable to load the module, but a standard PowerShell window has no issues?&lt;/LI&gt;&lt;LI&gt;Are you running the the ISE as an administrator and the PoSh window as a regular user?&amp;nbsp; Or, the inverse?&lt;/LI&gt;&lt;LI&gt;What is the output of "Get-Module -ListAvailable" for both?&lt;/LI&gt;&lt;LI&gt;What is the value of $env:PSModulePath for both?&lt;/LI&gt;&lt;LI&gt;Which version of the PSTK are you using?&amp;nbsp; Was it installed as an administrator?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 13:54:27 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2017-10-10T13:54:27Z</dc:date>
    <item>
      <title>Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135124#M5521</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i started some tryouts for MS Powershell scripting. First of all I will give u a short overview about my system configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ONTAP 9.1P7 on AFF8040&lt;/P&gt;&lt;P&gt;Windows 7 Enterprise SP1 (latest Windows Updates)&lt;/P&gt;&lt;P&gt;NetApp Powershell Toolkit 4.4&lt;/P&gt;&lt;P&gt;Microsoft Powershell 5.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the following problem. When I try to import the DataONTAP-PS-Module in the Powershell ISE (64-bit), I get this error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Windows\System32&amp;gt; Import-Module DataONTAP&lt;BR /&gt;Import-Module : The specified module 'DataONTAP' was not loaded because no valid module file was found in any module directory.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Import-Module DataONTAP&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : ResourceUnavailable: (DataONTAP:String) [Import-Module], FileNotFoundException&lt;BR /&gt;+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to import the module via the Powershell console I get&amp;nbsp;NO error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both tools show me the same infos when using the get-host cmdlet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name : Windows PowerShell ISE Host&lt;BR /&gt;Version : 5.1.14409.1005&lt;BR /&gt;InstanceId : ba0b2d74-0a69-409b-882f-e94dc2ba7eb8&lt;BR /&gt;UI : System.Management.Automation.Internal.Host.InternalHostUserInterface&lt;BR /&gt;CurrentCulture : de-DE&lt;BR /&gt;CurrentUICulture : de-DE&lt;BR /&gt;PrivateData : Microsoft.PowerShell.Host.ISE.ISEOptions&lt;BR /&gt;DebuggerEnabled : True&lt;BR /&gt;IsRunspacePushed : False&lt;BR /&gt;Runspace : System.Management.Automation.Runspaces.LocalRunspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you guys have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tbshpgn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 09:17:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135124#M5521</guid>
      <dc:creator>tbshpgn</dc:creator>
      <dc:date>2017-10-10T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135128#M5522</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55233"&gt;@tbshpgn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of questions...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You're saying that the PowerShell ISE is unable to load the module, but a standard PowerShell window has no issues?&lt;/LI&gt;&lt;LI&gt;Are you running the the ISE as an administrator and the PoSh window as a regular user?&amp;nbsp; Or, the inverse?&lt;/LI&gt;&lt;LI&gt;What is the output of "Get-Module -ListAvailable" for both?&lt;/LI&gt;&lt;LI&gt;What is the value of $env:PSModulePath for both?&lt;/LI&gt;&lt;LI&gt;Which version of the PSTK are you using?&amp;nbsp; Was it installed as an administrator?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 13:54:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135128#M5522</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-10-10T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135129#M5523</link>
      <description>&lt;P&gt;Hello Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- yes, in the morning i got this issues - now - after reinstalling the Windows Management Framework 5.1 the problem occurs on both - console and ISE&lt;/P&gt;&lt;P&gt;- I'm running both - the console and the ISE - as a normal user - running both as an administrator brings up the same error message&lt;/P&gt;&lt;P&gt;- Get-Godule -ListAvailable shows the following output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Directory: C:\Program Files\WindowsPowerShell\Modules&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ModuleType Version Name ExportedCommands&lt;BR /&gt;---------- ------- ---- ----------------&lt;BR /&gt;Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...}&lt;BR /&gt;Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ModuleType Version Name ExportedCommands&lt;BR /&gt;---------- ------- ---- ----------------&lt;BR /&gt;Manifest 1.0.0.0 AppLocker {Set-AppLockerPolicy, Get-AppLockerPolicy, Test-AppLockerPolicy, Get-AppLockerFileInformation...}&lt;BR /&gt;Manifest 1.0.0.0 BitsTransfer {Add-BitsFile, Remove-BitsTransfer, Complete-BitsTransfer, Get-BitsTransfer...}&lt;BR /&gt;Manifest 1.0.0.0 CimCmdlets {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...}&lt;BR /&gt;Script 1.0.0.0 ISE {New-IseSnippet, Import-IseSnippet, Get-IseSnippet}&lt;BR /&gt;Manifest 1.0.1.0 Microsoft.PowerShell.Archive {Compress-Archive, Expand-Archive}&lt;BR /&gt;Manifest 3.0.0.0 Microsoft.PowerShell.Diagnostics {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...}&lt;BR /&gt;Manifest 3.0.0.0 Microsoft.PowerShell.Host {Start-Transcript, Stop-Transcript}&lt;BR /&gt;Manifest 1.0.0.0 Microsoft.PowerShell.LocalAccounts {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser, Get-LocalGroup...}&lt;BR /&gt;Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...}&lt;BR /&gt;Script 1.0 Microsoft.PowerShell.ODataUtils Export-ODataEndpointProxy&lt;BR /&gt;Manifest 3.0.0.0 Microsoft.PowerShell.Security {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...}&lt;BR /&gt;Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Format-List, Format-Custom, Format-Table, Format-Wide...}&lt;BR /&gt;Manifest 3.0.0.0 Microsoft.WSMan.Management {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig...}&lt;BR /&gt;Manifest 1.0.0.0 NetworkSwitchManager {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEthernetPort, Get-NetworkSwitchEthernetPort, Remove-NetworkSwitchEthernet...&lt;BR /&gt;Manifest 1.1 PSDesiredStateConfiguration {Set-DscLocalConfigurationManager, Start-DscConfiguration, Test-DscConfiguration, Publish-DscConfiguration...}&lt;BR /&gt;Script 1.0.0.0 PSDiagnostics {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace...}&lt;BR /&gt;Binary 1.1.0.0 PSScheduledJob {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-JobTrigger...}&lt;BR /&gt;Manifest 2.0.0.0 PSWorkflow {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn}&lt;BR /&gt;Manifest 1.0.0.0 PSWorkflowUtility Invoke-AsWorkflow&lt;BR /&gt;Manifest 1.0.0.0 TroubleshootingPack {Get-TroubleshootingPack, Invoke-TroubleshootingPack}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- $env:OSModulePath show the following output:&lt;/P&gt;&lt;P&gt;\\FILESERVER\UserData\USERPROFILE\Documents\WindowsPowerShell\Modules; - we are using folder-redirection for user specific documents / pictures / music /desktop / etc pp.&lt;/P&gt;&lt;P&gt;C:\Program Files\WindowsPowerShell\Modules;&lt;/P&gt;&lt;P&gt;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I'm using the NetApp PowerShell Toolkit v.4.4.0 - installed with administrative priviledges&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tbshpgn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 14:12:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135129#M5523</guid>
      <dc:creator>tbshpgn</dc:creator>
      <dc:date>2017-10-10T14:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135131#M5525</link>
      <description>&lt;P&gt;Have you tried to import the module using the full path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Import-Module "C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules\DataONTAP"&lt;/PRE&gt;&lt;P&gt;If that works, then you need to &lt;A href="https://msdn.microsoft.com/en-us/library/dd878326" target="_self"&gt;update the PSModulePath&lt;/A&gt;...which is normally done by the installer, not sure why your's was not updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 14:54:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135131#M5525</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-10-10T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135132#M5526</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;importing the module with full path is working. I'll try to reinstall the NetApp PowerShell Toolkit tommorrow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your helpful answers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tobi&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 15:13:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135132#M5526</guid>
      <dc:creator>tbshpgn</dc:creator>
      <dc:date>2017-10-10T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135149#M5528</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reinstalling the NetApp Powershell Toolkit 4.4 three times was helpful. Now i can import the module via "import-module DataONTAP" - without the need to serve the full path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tbshpgn&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 05:59:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/135149#M5528</guid>
      <dc:creator>tbshpgn</dc:creator>
      <dc:date>2017-10-11T05:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Module DataONTAP</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/155091#M6162</link>
      <description>&lt;P&gt;Here's an idea. install your modules in the location that's already designated for Powershell modules. This seems to be a very common issue with third-party Powershell modules. Everyone wants to be special and have their own Modules location&amp;nbsp; and the install fails to register the location properly instead of just using the one that already exists and works.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:51:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Module-DataONTAP/m-p/155091#M6162</guid>
      <dc:creator>WilB</dc:creator>
      <dc:date>2020-03-24T17:51:39Z</dc:date>
    </item>
  </channel>
</rss>

