<?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>Add-UcsServiceProfileFromTemplate 'org-root' is an unexpected token</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8043115" />
  <subtitle>Add-UcsServiceProfileFromTemplate 'org-root' is an unexpected token</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8043115</id>
  <updated>2013-06-20T00:40:15Z</updated>
  <dc:date>2013-06-20T00:40:15Z</dc:date>
  <entry>
    <title>Automatic reply: New Message from tbenne13.jhmi.edu (simulated) in Unified</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8048319" />
    <author>
      <name>Eric Williams</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8048319</id>
    <updated>2012-10-25T22:21:58Z</updated>
    <published>2012-10-25T22:21:58Z</published>
    <summary type="html">I am currently out of office starting Thursday, October 25, 2012.  I will have limited access to voicemail and email at this time.  My responses will be delayed during this time.  Please contact Jason Shaw or Roger Andersson for anything urgent.

Thanks,
Eric Williams</summary>
    <dc:creator>Eric Williams</dc:creator>
    <dc:date>2012-10-25T22:21:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8048314" />
    <author>
      <name>tbenne13.jhmi.edu (simulated)</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8048314</id>
    <updated>2012-10-25T22:21:37Z</updated>
    <published>2012-10-25T22:21:37Z</published>
    <summary type="html">[quote=Bhaskar Jayakrishnan]Tim,

Where is the template and where are you trying to add it too ?

This will work, assuming you have 1 SP template named “template” in org-root and you are trying to create an instance in org-root/org-CVS:
Get-UcsServiceProfile -Name template | Add-UcsServiceProfileFromTemplate -NewName templateInstance –DestinationOrg (Get-UcsOrg –Level root | Get-UcsOrg -Name CVS -LimitScope)

Thanks,
- bhaskar
From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, October 25, 2012 11:33 PM
To: cdicuser@developer.cisco.com
Subject: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS Manager - Microsoft Discussions: Add-UcsServiceProfileFromTemplate 'org-root' is an unexpected token

tbenne13.jhmi.edu (simulated) has created a new message in the forum "Microsoft Discussions": -------------------------------------------------------------- Hi,
I am trying to run the command Add-UcsServiceProfileFromTemplate the DestinationOrg is a child of root named CVS. I always get the same error "Add-UcsServiceProfileFromTemplate : MTWDAVDC2UCSN4:'org-root' is an unexpected token." for the parameter -DestinationOrg I have used  -DestinationOrg 'org-root' ,  -DestinationOrg (get-ucsorg -Name "org-root"),  -DestinationOrg (get-ucsorg -Name "CVS"), -DestinationOrg (Get-UcsOrg -Level root).
Running the cmdlet get-ucsorg returns
PS C:\&gt; get-ucsorg
Descr        :
Level        : root
Name         : root
Dn           : org-root
Rn           : org-root
Status       :
XtraProperty : {}
Ucs          : "MYUCS"

Descr        : Cloud
Level        : 1
Name         : CVS
Dn           : org-root/org-CVS
Rn           : org-CVS
Status       :
XtraProperty : {}
Ucs          : "MYUCS"
If i don't use the --DestinationOrg parameter it returns the same result.

Has nayone successfully used the Add-UcsServiceProfileFromTemplate? Any help on this error is appreciated.


thanks,
tim
--
To respond to this post, please click the following link: or simply reply to this email.[/quote]</summary>
    <dc:creator>tbenne13.jhmi.edu (simulated)</dc:creator>
    <dc:date>2012-10-25T22:21:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8043408" />
    <author>
      <name>Bhaskar Jayakrishnan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8043408</id>
    <updated>2012-10-25T18:34:15Z</updated>
    <published>2012-10-25T18:34:15Z</published>
    <summary type="html">Tim,

Where is the template and where are you trying to add it too ?

This will work, assuming you have 1 SP template named “template” in org-root and you are trying to create an instance in org-root/org-CVS:
Get-UcsServiceProfile -Name template | Add-UcsServiceProfileFromTemplate -NewName templateInstance –DestinationOrg (Get-UcsOrg –Level root | Get-UcsOrg -Name CVS -LimitScope)

Thanks,
- bhaskar
From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, October 25, 2012 11:33 PM
To: cdicuser@developer.cisco.com
Subject: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS Manager - Microsoft Discussions: Add-UcsServiceProfileFromTemplate 'org-root' is an unexpected token

tbenne13.jhmi.edu (simulated) has created a new message in the forum "Microsoft Discussions": -------------------------------------------------------------- Hi,
I am trying to run the command Add-UcsServiceProfileFromTemplate the DestinationOrg is a child of root named CVS. I always get the same error "Add-UcsServiceProfileFromTemplate : MTWDAVDC2UCSN4:'org-root' is an unexpected token." for the parameter -DestinationOrg I have used  -DestinationOrg 'org-root' ,  -DestinationOrg (get-ucsorg -Name "org-root"),  -DestinationOrg (get-ucsorg -Name "CVS"), -DestinationOrg (Get-UcsOrg -Level root).
Running the cmdlet get-ucsorg returns
PS C:\&gt; get-ucsorg
Descr        :
Level        : root
Name         : root
Dn           : org-root
Rn           : org-root
Status       :
XtraProperty : {}
Ucs          : "MYUCS"

Descr        : Cloud
Level        : 1
Name         : CVS
Dn           : org-root/org-CVS
Rn           : org-CVS
Status       :
XtraProperty : {}
Ucs          : "MYUCS"
If i don't use the --DestinationOrg parameter it returns the same result.

Has nayone successfully used the Add-UcsServiceProfileFromTemplate? Any help on this error is appreciated.


thanks,
tim
--
To respond to this post, please click the following link: or simply reply to this email.</summary>
    <dc:creator>Bhaskar Jayakrishnan</dc:creator>
    <dc:date>2012-10-25T18:34:15Z</dc:date>
  </entry>
  <entry>
    <title>Add-UcsServiceProfileFromTemplate 'org-root' is an unexpected token</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8043114" />
    <author>
      <name>tbenne13.jhmi.edu (simulated)</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8043114</id>
    <updated>2012-10-25T18:02:54Z</updated>
    <published>2012-10-25T18:02:44Z</published>
    <summary type="html">Hi,
I am trying to run the command Add-UcsServiceProfileFromTemplate the DestinationOrg is a child of root named CVS. I always get the same error [b]"Add-UcsServiceProfileFromTemplate : MTWDAVDC2UCSN4:'org-root' is an unexpected token." [/b]for the parameter -DestinationOrg I have used  -DestinationOrg 'org-root' ,  -DestinationOrg (get-ucsorg -Name "org-root"),  -DestinationOrg (get-ucsorg -Name "CVS"), -DestinationOrg (Get-UcsOrg -Level root). 
Running the cmdlet get-ucsorg returns 
PS C:\&gt; get-ucsorg
Descr        :
Level        : root
Name         : root
Dn           : org-root
Rn           : org-root
Status       :
XtraProperty : {}
Ucs          : "MYUCS"
 
Descr        : Cloud
Level        : 1
Name         : CVS
Dn           : org-root/org-CVS
Rn           : org-CVS
Status       :
XtraProperty : {}
Ucs          : "MYUCS"
If i don't use the --DestinationOrg parameter it returns the same result.
 
Has nayone successfully used the Add-UcsServiceProfileFromTemplate? Any help on this error is appreciated.
 
 
thanks,
tim</summary>
    <dc:creator>tbenne13.jhmi.edu (simulated)</dc:creator>
    <dc:date>2012-10-25T18:02:44Z</dc:date>
  </entry>
</feed>

