ONTAP Discussions

Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows'

TimothyB
71 Views

Hello all - I'm starting out scripting on some Windows Servers that have connected LUNs, and when trying to use Get-NcHostDisk, I get this error:

Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

 

Is there a .NET Framework (or some other) requirement that I'm missing? I can't find any dependency info on what it may be looking for. This is running on Windows Server 2022, and I've tested with the two latest versions of the netapp.ONTAP module (9.16.1.2501 and 9.17.1.2509).

Commands such as Get-NcVol work fine so I know I'm connected.

0 REPLIES 0
Public