06-25-2018 02:52 PM
PowerShell Connect-IMC fails with "The requested security protocol is not supported" when run under PowerShell Core 6.0.2 (I confirmed this code works under Pwershell 5.1.14409.1012):
PS > Import-Module Cisco.Imc
PS > $handle = Connect-Imc -Name server3-IMC.local -NoSsl
cmdlet Connect-Imc at command pipeline position 1
Supply values for the following parameters:
User: admin
Password for user admin: ***********
Connect-Imc : The requested security protocol is not supported.
At line:1 char:11
+ $handle = Connect-Imc -Name server3-IMC.local -NoSsl
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-Imc], NotSupportedException
+ FullyQualifiedErrorId : Cisco.Imc.Cmdlets.ConnectImc
PS > $PSVersionTable
Name Value
---- -----
PSVersion 6.0.2
PSEdition Core
GitCommitId v6.0.2
OS Darwin 17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT 2018; root:xnu-4570.61.1...
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Solved! Go to Solution.
06-27-2018 10:59 PM
Hi Christopher,
Cisco UCS Powertool Suite v2.3.1.5 is not qualified to work with Powershell Core.
The release Cisco UCS PowerTool Core Suite v2.2.1 works with Powershell Core, But since this is a beta release its posted on cisco communities only, here:
https://communities.cisco.com/docs/DOC-74217
Please let us know if you have more questions on this.
Thanks,
Amit Kumar
06-26-2018 07:38 AM
We are looking into this issue. Can you let us know the version of IMC PowerTool being used and the IMC version and server model?
06-26-2018 11:06 AM
========= Cisco.IMC version ====================
PS > Get-Command -Module cisco.imc | Select-Object Version | Sort-Object -Unique
Version
-------
2.3.1.5
========= CIMC Version =======================
Version : 3.0(4d)
========= UCS Model =========================
UCS C240 M4S
===========================================
06-27-2018 10:59 PM
Hi Christopher,
Cisco UCS Powertool Suite v2.3.1.5 is not qualified to work with Powershell Core.
The release Cisco UCS PowerTool Core Suite v2.2.1 works with Powershell Core, But since this is a beta release its posted on cisco communities only, here:
https://communities.cisco.com/docs/DOC-74217
Please let us know if you have more questions on this.
Thanks,
Amit Kumar
06-28-2018 11:05 AM
Thank you Amit and David.
-Chris
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide