-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello
I tried to connect to PureStorage Flash Array with PoweShellSDK2 and immediately get the error:
Connect-Pfa2Array : Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.2.0.0,
Culture=neutral, PublicKeyToken=someToken' or one of its dependencies. The system cannot find the file
specified.
At line:1 char:1
+ Connect-Pfa2Array -EndPoint $fa -Credential (Get-Credential) -IgnoreC ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-Pfa2Array], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,PureStorage.Rest.PowerShell.ConnectArrayCmdletx
I installed .Net 4.8 as well as .Net Core 2.1 as mentioned in the release notes. But that didn't help.
PS Version
Name Value
---- -----
PSVersion 5.1.20348.3932
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.3932
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
OS: Windows Server 2022
Does anyone know why this error shows up and how I can resolve it?
Best
Noah
Metadata
Metadata
Assignees
Labels
No labels