Forum Discussion
ldoodle
11 months agoAdvisor
def user = hostProps.get('vcenter.user') ?: hostProps.get("vcsa.user") ?: hostProps.get("esx.user")
This simply means use vcenter.user if it exists, If not, use vcsa.user if it exists. If not, use esx.user.
yeah I realise that. I’m used to other programming languages from my day job.
Related Content
- 11 months ago
- 4 months ago