Hi Team,
I would like to automate custom tcp port creation on the ESXI hosts,using the Powercli option. In one host , by using below we can create the port
https://kb.vmware.com/s/article/2008226?lang=en_us
But I want to automate these task using powercli
Thanks. We'll have to check if there is an API to make these changes, but from what I'm seeing such an API may be missing, which will not allow the implementation of this feature in PowerCLI. One way to do what you need through PowerShell is described in this community post: https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Adding-a-new-Firewall-Rule-in-each-ESX-hosts/td-p/2298275.
I updated the correct URL.
I think the KB is not the correct one. This one contains instructions on how to enable ESXi shell.