solidfire / PowerShell

Collection of scripts, functions, and examples using the SolidFire Tools for PowerShell
MIT License
27 stars 20 forks source link

SF PS Tools v1.5.1.1 works fine on PS 6.2.3 (arm64) #83

Closed scaleoutsean closed 3 years ago

scaleoutsean commented 5 years ago

To my surprise, it can be installed, imported and it appears to work (I tried 3-4 SF cmdlets).

PS /home/sean/powershell> Install-Module SolidFire.Core -Scope CurrentUser
PS /home/sean/powershell> Import-Module Solidfire.Core
PS /home/sean/powershell> Connect-SFCluster 192.168.1.130 -Username admin -Password 123123123

Target           : 192.168.1.130
Name             : taiwan
Port             : 
VersionApiName   : Sodium
VersionApiNumber : 11.5
Node             : False
Uri              : https://192.168.1.130/json-rpc/11.5
RequestCount     : 3
Credential       : System.Management.Automation.PSCredential
Limits           : {"AccountCountMax" = 5000, "AccountNameLengthMax" = 64, "AccountNameLengthMin" = 1, "BulkVolumeJobsPerNodeMax" = 
                   8, "BulkVolumeJobsPerVolumeMax" = 2, "CloneJobsPerVolumeMax" = 2, "ClusterPairsCountMax" = 4, 
                   "InitiatorNameLengthMax" = 224, "InitiatorCountMax" = 10000, "InitiatorsPerVolumeAccessGroupCountMax" = 128, 
                   "IscsiSessionsFromFibreChannelNodesMax" = 4096, "QosPolicyCountMax" = 500, "SecretLengthMax" = 16, 
                   "ScheduleNameLengthMax" = 244, "SecretLengthMin" = 12, "SnapshotNameLengthMax" = 255, "SnapshotsPerVolumeMax" = 
                   32, "VolumeAccessGroupCountMax" = 1000, "VolumeAccessGroupLunMax" = 16383, "VolumeAccessGroupNameLengthMax" = 64, 
                   "VolumeAccessGroupNameLengthMin" = 1, "VolumeAccessGroupsPerInitiatorCountMax" = 1, 
                   "VolumeAccessGroupsPerVolumeCountMax" = 64, "InitiatorAliasLengthMax" = 224, "VolumeBurstIOPSMax" = 200000, 
                   "VolumeBurstIOPSMin" = 100, "VolumeCountMax" = 4000, "VolumeMaxIOPSMax" = 200000, "VolumeMaxIOPSMin" = 100, 
                   "VolumeMinIOPSMax" = 15000, "VolumeMinIOPSMin" = 50, "VolumeNameLengthMax" = 64, "VolumeNameLengthMin" = 1, 
                   "VolumeSizeMax" = 17592186044416, "VolumeSizeMin" = 1000000000, "VolumesPerAccountCountMax" = 2000, 
                   "VolumesPerGroupSnapshotMax" = 32, "VolumesPerVolumeAccessGroupCountMax" = 2000}
Timeout          : 
Element          : SolidFire.Element.Api.SolidFireElement
arjun960 commented 3 years ago

@scaleoutsean Yes, It does install. The SolidFire.Core v1.5.1.1 does work on Powershell >6.0 as this is built on Dotnet Core Version. Any version of SolidFire.Core does work on any operating system which supports PS >6.0.

Please check this link https://www.powershellgallery.com/packages/SolidFire.Core/1.5.1.1 for more info. image