Hello,
I was able to get the version of my Lab UCS using Connect-Imc. The commands shows the version right on the output of the connection.
PS /Users/kkhlebop> Connect-Imc
cmdlet Connect-Imc at command pipeline position 1
Supply values for the following parameters:
Name[0]: 10.194.239.215
Name[1]:
Credential
User: admin
Password for user admin: ********
Model : UCSC-C240-M4L
ModelType : Classic
NumPendingConfigs : 0
Imc : C240-FCH2012V01L
Cookie : 463dfbad63/bf417043-3426-0d0d-8d35-92a38d775565
Domains :
LastUpdateTime : 9/10/2021 3:51:07 PM
Name : 10.194.239.215
NoSsl : False
NumWatchers : 0
Port : 443
Priv : {admin}
PromptOnCompleteTransaction : False
Proxy :
RefreshPeriod : 600
SessionId : 5
TransactionInProgress : False
Uri : https://10.194.239.215
UserName : admin
Version : 4.1(2a)
VirtualIpv4Address : 10.194.239.215
WatchThreadStatus : None
After the connection you can get additional information about the Firmware version using Get-ImcFirmwareRunning
I hope that helps.
Regards,
Kostia Khlebopros
DevNet Support