Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to Use webtarget

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

how to Use webtarget

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

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
4 REPLIES
Cisco Employee

how to Use webtarget

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

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
New Member

how to Use webtarget

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.

New Member

how to Use webtarget

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.

Cisco Employee

how to Use webtarget

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.

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
461
Views
0
Helpful
4
Replies
CreatePlease login to create content