Hey guys,
i started some tryouts for MS Powershell scripting. First of all I will give u a short overview about my system configuration:
ONTAP 9.1P7 on AFF8040
Windows 7 Enterprise SP1 (latest Windows Updates)
NetApp Powershell Toolkit 4.4
Microsoft Powershell 5.1
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:
PS C:\Windows\System32> Import-Module DataONTAP
Import-Module : The specified module 'DataONTAP' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module DataONTAP
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (DataONTAP:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
When I try to import the module via the Powershell console I get NO error messages.
Both tools show me the same infos when using the get-host cmdlet:
Name : Windows PowerShell ISE Host
Version : 5.1.14409.1005
InstanceId : ba0b2d74-0a69-409b-882f-e94dc2ba7eb8
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : de-DE
CurrentUICulture : de-DE
PrivateData : Microsoft.PowerShell.Host.ISE.ISEOptions
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Do you guys have any ideas?
Greets,
tbshpgn