I opened a case as well and found the same. I set it to expire at 365 and then change the password to the same password.
SR 685882119 : Cisco IMC Supervisor keeps reporting password expiring
Case history shows that zero will not change the policy to ‘not expire’. If you want the maximum then change it to 365.
... View more
I do not know how robust this solution will end up but you can run ssh commands from powershell using WMF 5 and the Posh-SSL Cmdlets. https://www.powershellgallery.com/GettingStarted?section=Get%20Started https://www.powershellgallery.com/packages/Posh-SSH/ ########## # Getting SSH Command Info from UCS via Powershell # Needs: # https://www.powershellgallery.com/packages/Posh-SSH/ # See getting started to install WMF 5.0 # 1/6/2016 - Larry Hedrick # Begin Write-Host "Connecting to UCSM..." -ForegroundColor Cyan New-SSHSession -ComputerName 'dat01-clucs-003' Write-Host "Running Commands..." -ForegroundColor Cyan Invoke-SSHCommand -Command 'show cluster state' -SessionId '0' | select -ExpandProperty Output Write-Host "Disconnecting." -ForegroundColor Cyan Remove-SSHSession -SessionId 0 #end Output Connecting to UCSM... cmdlet New-SSHSession at command pipeline position 1 Supply values for the following parameters: SessionId Host Connected --------- ---- --------- 0 dat01-clucs-003 True Running Commands... Cluster Id: 0xfa5cfdda8dd511e3-0xb6bc000573e36044 B: UP, PRIMARY A: UP, SUBORDINATE HA READY Disconnecting. True
... View more