I'm working on a configuration change template to update Cisco configurations across the enterprise. I want to detect if the target node is IOS or NX-OS, and issue different commands (write mem vs copy run start) based on OS. Most scripts use if ( @node.vendor == 'Cisco' ), and based on that I've tried using if ( @node.Description contains 'NX-OS' ), but no luck. How do I get to that information within the script?
Thanks,
Shad