- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you mean if PowerCLI has cmdlets to configure the networks on the VCSA appliance?
If that is what you ask, no there are no such cmdlets.
But there other ways to call the vami_config_net cli if that is what you mean.
The VCSA has the VMware Tools installed, so you could use Invoke-VMSCript.
Or use the Posh-SSH module to use an SSH connection to the VCSA to execute said cli.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks LucD
Yep I mean the way 2 call VAMI but I'm unsure about that. Can you provide me with some guidance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure what you mean by "guidance", it is either basic usage of the Invoke-VMScript cmdlet or basic usage of the Posh-SSH cmdlets.
For the latter, I have a short example in Use Posh-SSH instead of PuTTY
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please accept my apologies, I misspoke.
Can you give me a hand to add the bulk IP list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which vami_config_net command do you want to run through PowerCLI?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just check vmware documentation regarding vami_config_net and i didn't find the information related to firewall so honestly not sure how to tacle this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suspect the only way in that case would be to edit the firewall.conf file (with sed).
That can be done with Invvoke-VMScript or through an SSH session.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
then, I will try to learn about Invvoke-VMScript,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might want to have a look at Solved: Re: Invoke-VMScript. Pass variable in BASH - VMware Technology Network VMTN as an example on how to use Invoke-VMScript on a Linux box and use the sed to change a file on there.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you ![]()