<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Connect-UCS error</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>Connect-UCS error</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-21T23:48:35Z</updated>
  <dc:date>2013-05-21T23:48:35Z</dc:date>
  <entry>
    <title>Connect-UCS error</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5694067" />
    <author>
      <name>Murali K</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5694067</id>
    <updated>2012-05-09T22:22:48Z</updated>
    <published>2012-05-09T22:22:48Z</published>
    <summary type="html">Hi-
 
Greetings!
 
I am tryinig to automate the login with ucs. I have downloaded &amp; instaleld the UCS simulator &amp; goucs 2.0. I am able to login via the Browser using the IP &amp; login ID.
However, when I tried to fire the following Powershell script, it gives the following error:
--------------------------------------------------------------------------------------------------------------------------
Import-Module 'C:\Program Files (x86)\Cisco\Cisco UCS PowerTool\Modules\CiscoUcsPS\CiscoUcsPS.psd1'
$user = "config"
$password = "xxxxx" | ConvertTo-SecureString -AsPlainText -Force
$cred = New-Object system.Management.Automation.PSCredential($user, $password)
$handle1 = Connect-Ucs 192.168.10.130 -NotDefault -Credential $cred
--------------------------------------------------------------------------------------------------------------------------
Error:
Connect-Ucs : Connect-Ucs: Connection to 192.168.10.130 Failed.
At line:1 char:23
+ $handle1 = Connect-Ucs &lt;&lt;&lt;&lt;  192.168.10.130 -NotDefault -Credential $cred
    + CategoryInfo          : NotSpecified: (:) [Connect-Ucs], Exception
    + FullyQualifiedErrorId : Cisco.Ucs.Cmdlets.ConnectUcs
Any pointers or suggenstions would be very much helpful.
 
Thank You
Murali
 </summary>
    <dc:creator>Murali K</dc:creator>
    <dc:date>2012-05-09T22:22:48Z</dc:date>
  </entry>
</feed>

