Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Unified Computing UCS Manager Developer Center
Overview
UCS Manager XML Schema
UCS Automation Tool (goUCS)
Server and Host Management API
UCS Standalone C-Series Servers
Cisco Standalone C-Series CIMC XML API
goUCS Automation Tool
Cisco Standalone C-Series HUU Utilities
Documentation
Community
Testing
UCS Management Ecosystem
Management with HP Software
HP Operations Manager (HPOM)
HP Operations Orchestration (HPOO)
Management with Microsoft Software
Microsoft System Center
Cisco UCS PowerTool for UCSM
SDK
System Management Resources
Altiris
UCS Management with VMware Software
OpenStack
UCS Labs
Labs Wiki
VM-FEX
Overview
Getting Started
Resources
Flexpod
Overview
Getting Started
Resources
Everything
This Site
Blogs
Cisco UCS for RackTables
Jeffrey Silberman
25 Oct 2012
Cisco UCS PowerTool Examples
Eric Williams
20 Jul 2012
ANNOUNCEMENT: goUCS version 2.0 Released
Eric Williams
08 Mar 2012
Getting to Know your UCS Fabric Interconnect Neighbors
John McDonough
10 Nov 2011
SCOM MP version 2.0 for Cisco UCS is now available
Chakri Avala
01 Sep 2011
Showing 1 - 5 of 16 results.
Items per Page 5
Page
(Changing the value of this field will reload the page.)
1
2
3
4
of 4
First
Previous
Next
Last
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Microsoft Discussions
RE: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS
Threads [
Previous
|
Next
]
tbenne13.jhmi.edu (simulated)
Posts:
4
Join Date:
6/26/12
Recent Posts
Add-UcsServiceProfileFromTemplate 'org-root' is an unexpected token
Answer
10/25/12 6:02 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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:\> 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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Bhaskar Jayakrishnan
Posts:
18
Join Date:
6/30/11
Recent Posts
RE: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS
Answer
10/25/12 6:34 PM as a reply to tbenne13.jhmi.edu (simulated).
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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:\> 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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
tbenne13.jhmi.edu (simulated)
Posts:
4
Join Date:
6/26/12
Recent Posts
RE: New Message from tbenne13.jhmi.edu (simulated) in Unified Computing UCS
Answer
10/25/12 10:21 PM as a reply to Bhaskar Jayakrishnan.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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:\> 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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Eric Williams
Posts:
42
Join Date:
3/31/10
Recent Posts
Automatic reply: New Message from tbenne13.jhmi.edu (simulated) in Unified
Answer
10/25/12 10:21 PM as a reply to tbenne13.jhmi.edu (simulated).
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available