I've Installed the Powershell Toolkit 4.4 on Windows Server 2016 Standard.
Connecting to CDOT SVM's works fine but I get an error when trying to connect to 7-mode filers.
PS C:\> connect-nacontroller my7modefiler.domain.local
2017-06-08 14:39:46,258 INFO DataONTAP.PowerShell.SDK.ConnectNaController - Cmdlet invocation: connect-nacontroller my7modefiler.domain.local
2017-06-08 14:39:46,259 DEBUG DataONTAP.PowerShell.SDK.ConnectNaController - No credentials provided, consulting cache
2017-06-08 14:39:46,260 DEBUG DataONTAP.PowerShell.SDK.ConnectNaController - Trying RPC
2017-06-08 14:39:46,260 DEBUG NetApp.Ontapi.NaServer - NaServer port changed to 0
2017-06-08 14:39:46,260 DEBUG NetApp.Ontapi.NaServer - NaServer Protocol changed to RPC
2017-06-08 14:39:46,260 DEBUG DataONTAP.PowerShell.SDK.ConnectNaController - Connecting to my7modefiler.domain.local via RPC
2017-06-08 14:39:46,260 DEBUG NetApp.Ontapi.NaServer - <netapp version='1.0' xmlns='http://www.netapp.com/filer/admin'><system-get-ontapi-version /></netapp>
connect-nacontroller : Failed to load ntapadmin32 DLL
At line:1 char:1
+ connect-nacontroller my7modefiler.domain.local
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (DRSSDN31:NaController) [Connect-NaController], Exception
+ FullyQualifiedErrorId : RpcConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController
2017-06-08 14:39:46,268 DEBUG DataONTAP.PowerShell.SDK.ConnectNaController - Failed to connect to my7modefiler.domain.local
2017-06-08 14:39:46,268 DEBUG DataONTAP.PowerShell.SDK.ConnectNaController - Setting value of global:CurrentNaController
2017-06-08 14:39:46,268 DEBUG DataONTAP.PowerShell.SDK.ConnectNaController - Starting EMS logging
I already tried and checked a lot of different things:
- Uninstalling and reinstalling the toolkit --> same error
- Uninstall dotNet 4.7, install dotnet 4.5 --> same error (that was the only significant difference I've seen between Windows 10 and Windows Server 2016)
- running powershell in 32bit and 64bit also as Administrator--> same error
- Installed the 4.4 Toolkit on Windows 10 with the same PS Version --> works fine
- Uninstalled the 4.4 Toolkit and installed the oldest Toolkit Version I've found in my archive: 3.2.0.65 --> works fine.
PS C:\> connect-nacontroller my7modefiler.domain.local
Name Address Ontapi Version
---- ------- ------ -------
my7modefiler.domain.local 192.168.0.40 1.21 NetApp Release 8.2.4P6 7-Mode: Wed Jan 11 01:07:08 PST 2017
Any Idea whats wrong the 4.4 and 7-mode on Windows Server 2016?