05-18-2012 05:31 AM
Hi , Can some once explain how to use webtarget and which acivty use to run Powershell script on the webtarget ??
My use case is
> i need to make a webtarget for vCO .
> i need to run powerShell script on that webtarget to run vCO process usin Soap API.
> What are the Best Practices when using Webtargets ???
Thanks
SivaRam
Solved! Go to Solution.
05-18-2012 05:59 AM
Web Targets are not used with Powershell.
The execute powershell script only executes against a windows target. If you are executing VMWARE type Powershell CLI, you should execute the powershell script against your CPO box, and then make connections call to your VMware setup using the CLI and then run the CLI commands.
Web targets are find to call soap APIs, web scrape, call web services, etc, but are not meant to call powershell scripts.
If you have an issue please open a case with TAC or at least let us know who you are with and where you using CPO. I see you as a guest user... are you with Cisco??? Or a partner or ?
thanks,
-Shaun Roberts
CPO/CIAC Support Team Lead
05-18-2012 05:59 AM
Web Targets are not used with Powershell.
The execute powershell script only executes against a windows target. If you are executing VMWARE type Powershell CLI, you should execute the powershell script against your CPO box, and then make connections call to your VMware setup using the CLI and then run the CLI commands.
Web targets are find to call soap APIs, web scrape, call web services, etc, but are not meant to call powershell scripts.
If you have an issue please open a case with TAC or at least let us know who you are with and where you using CPO. I see you as a guest user... are you with Cisco??? Or a partner or ?
thanks,
-Shaun Roberts
CPO/CIAC Support Team Lead
05-18-2012 06:34 AM
Hi Chris ,
thanx for u r reply . i understood now as i was new to this tool i was confused .
My question is we have VCO SOAP API and we need to acess it through Microsoft powershell script .
Can u plz let me know what is the activity to use for running the Powershell script.
Thanks
Raj.
05-18-2012 06:38 AM
Hi Chris ,
we are recently atended for a CIAC training conducted by cisco as a patner and we are doing Practice bcz as a cisco patner there were some prj's in pipeline.
05-18-2012 06:51 AM
If you need to use powershell then you *must* use the "Execute Windows Powershell Script" activity. Again, like I said above (and how most do it with vCD or other powershell CLI based vmware components). You make the CPO server your windows target and you use the CLI to connect to your vCD and then run the scripts. This is fully customized and is something support does not really know much about or do.
If you need to dive in this further, I suggest you contact Cisco Advanced Services for assistance.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide