« Back to Microsoft Discussions

How to use new cmdlet generated from ConvertTo-UCSCmdlet

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
I am new to powertool but not to powershell and and having a problem with the usage of the result from ConvertTo-UCSCmdlet. I just created a new service profile from a template and verified it completed successfully. I found the xml in the log file and pasted just that to a new txt file then ran the ConvertTo-UCSCmdlet cmdlet with the -xml parameter and the path to the file i created with the xml. It completed successfully with a warning "WARNING: Please review the generated cmdlets before deployment." not a big deal and shows the cmdlets as output. Everything looks good. Now my quastion is: I assume a new cmdlet was created that performs the task that was in the XML, How do I now use that new command? what is the new cmdlet?
 
thanks,
tim

Hi,
Please take a look at the attached presentation for getting to know ConvertTo-UcsCmdlet better. It does not generate one single cmdlet. It generates a PowerShell script that can be executed to simulate the same operation again.
Thanks,
Vijay Vikrant Balyan
[quote=tbenne13.jhmi.edu (simulated)]Hi,
I am new to powertool but not to powershell and and having a problem with the usage of the result from ConvertTo-UCSCmdlet. I just created a new service profile from a template and verified it completed successfully. I found the xml in the log file and pasted just that to a new txt file then ran the ConvertTo-UCSCmdlet cmdlet with the -xml parameter and the path to the file i created with the xml. It completed successfully with a warning "WARNING: Please review the generated cmdlets before deployment." not a big deal and shows the cmdlets as output. Everything looks good. Now my quastion is: I assume a new cmdlet was created that performs the task that was in the XML, How do I now use that new command? what is the new cmdlet?
 
thanks,
tim
Attachments:

vijay,
thanks for the reply i understand the cmdlet now but would like to view the presentation. can you pls reattach? there is no attachment in this post.