I am trying to write a Groovy PropertySource script, which will SSH into Fortigate devices and return the list of available VDOMs.
In Putty, I would run the command
config vdom -> Ent...
Just to be clear, I should add that, once this actually gets the command output, I will want to remove the "<vdom> Virtual Domain Name" lines and return the actual VDOM list as a comma-separated string.