VMware Cloud Community
mdbrown1980
Contributor
Contributor

Need to get vAPP vswitch info to set it to promiscuous and forged transmits through PowerCLI.

I roll out multiple vAPPs with a PowerCLI script and need to add the ability for the script to set the vswitch on the vAPPs internal ESX server to promiscuous and forged transmits.

I have looked through alot of sites and cannot find a way to get the vswitch information so I can set it's security settings through PowerCLI.

I can get network information returned but nothing that points to the specific vswitch that is created when the vAPP is rolled out.

Any help in pointing me in the right direction would be greatly appreciated.

0 Kudos
3 Replies
LucD
Leadership
Leadership

Would you mind sharing the code with which you create the vApp and the internal vSwitch?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
mdbrown1980
Contributor
Contributor

We deploy the vAPP using a template and the command:

New-CIVApp -OrgVdc $org -VAppTemplate $template -Name $vappname

The variables are read from a .csv file but there isn't anything special there.

Once I can verify exactly how our vcloud polls vshield and vcenter to do the networking and can sanitize some other things I will get them posted.

Thanks!

0 Kudos
LucD
Leadership
Leadership

I moved the thread to vCloud Director PowerCLIvCloud Director PowerCLI


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos