<?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>Powertool - Get-UcsTimezone errors</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5712665" />
  <subtitle>Powertool - Get-UcsTimezone errors</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5712665</id>
  <updated>2013-05-24T15:21:14Z</updated>
  <dc:date>2013-05-24T15:21:14Z</dc:date>
  <entry>
    <title>RE: Powertool - Get-UcsTimezone errors</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5712176" />
    <author>
      <name>Vijay Balyan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5712176</id>
    <updated>2012-05-11T05:53:32Z</updated>
    <published>2012-05-11T05:53:32Z</published>
    <summary type="html">This is probably a UCSM issue. The xml response that gets sent from UCSM needs to escape the "&amp;" character. 
 

PS C:\Users\vvb&gt; Get-UcsTimezone -xml
==&gt;savbu-tpi02:&lt;configResolveClass classId="commDateTime" cookie="1336707263/b9efa1f9-efdc-4e43-98ed-19edcbcfd815" inHierarchical="false" /&gt;
&lt;==savbu-tpi02: &lt;configResolveClass cookie="1336707263/b9efa1f9-efdc-4e43-98ed-19edcbcfd815" response="yes" classId="commDateTime"&gt; &lt;outConfigs&gt;  &lt;com
mDateTime adminState="enabled"  date="1969-12-31T17:00:00.000" descr="" dn="sys/svc-ext/datetime-svc" intId="24119" name="" port="0" proto="none"   ti
mezone="America/Edmonton (Mountain Time - Alberta, east British Columbia &amp; west Saskatchewan)"/&gt; &lt;/outConfigs&gt; &lt;/configResolveClass&gt;
Get-UcsTimezone : savbu-tpi02:An error occurred while parsing EntityName. Line 1, position 360.
At line:1 char:16
+ Get-UcsTimezone &lt;&lt;&lt;&lt;  -xml
    + CategoryInfo          : NotSpecified: (:) [Get-UcsTimezone], Exception
    + FullyQualifiedErrorId : 300,Cisco.Ucs.Cmdlets.GetUcsTimezone


Thanks,
Vijay Vikrant Balyan</summary>
    <dc:creator>Vijay Balyan</dc:creator>
    <dc:date>2012-05-11T05:53:32Z</dc:date>
  </entry>
  <entry>
    <title>Powertool - Get-UcsTimezone errors</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5712664" />
    <author>
      <name>Ian King</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5712664</id>
    <updated>2012-05-10T23:13:36Z</updated>
    <published>2012-05-10T23:13:36Z</published>
    <summary type="html">Seems I can get the timezone there is nothing set.
I can get many that are set (have not tested them all)
If I manually set the timezone (gui) to America/Edmonton (Mountain Time - Alberta, east British Columbia &amp; west Saskatchewan then the get-Ucstimezone command errors.
Get-UcsTimezone : wmd-ucs-02:An error occurred while parsing EntityName. Line 1, position 360.
At line:1 char:16
+ Get-UcsTimezone &lt;&lt;&lt;&lt;
    + CategoryInfo          : NotSpecified: (:) [Get-UcsTimezone], Exception
    + FullyQualifiedErrorId : 300,Cisco.Ucs.Cmdlets.GetUcsTimezone
 
Not sure if there is a better place to report bugs so, there it is.</summary>
    <dc:creator>Ian King</dc:creator>
    <dc:date>2012-05-10T23:13:36Z</dc:date>
  </entry>
</feed>

